post linker phase - How To?
Ian Lance Taylor
iant@google.com
Mon Apr 12 23:30:00 GMT 2010
IainS <developer@sandoe-acoustics.co.uk> writes:
> I take it that, when called from a spec, any program in $(libsubdir)
> will get the right path by the automagic built into the compiler?
Yes.
>>> Or:
>>> If I want to create a new post-collect phase --- is that already
>> As far as I know there is currently no post-collect phase.
>
> This would be tidier than riding on the back of the LINK_COMMAND_SPEC.
> Any perception of the difficulty factor (1:10)..?
This is so special purpose that I would be inclined to just add to
LINK_COMMAND_SPEC if that can be made to work. Otherwise you will
have to add a bunch of machinery to gcc.c that nothing else will ever
use.
Ian
More information about the Gcc
mailing list