On 1 Apr 2005 at 17:32, Frank Heckenbach wrote:
Prof A Olowofoyeku (The African Chief) wrote:
BTW: Delphi has a facility for aliasing units: "-A<unit>=<alias>". I think we discussed this quite a while ago. Does gpc now have this feature,
No, but two (partial) alternatives:
[...]
- Uses propagation (make a unit `Bar' which export everything it imports):
{$propagate-units}
unit Bar;
interface
uses Foo;
implementation
end.
Thanks. This could be a useful workaround. It would be nice to have something like "--unit-alias unitname=aliasname", but it probably isn't a trivial thing to implement ...
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/