[RFH] changing linkfile name depending on a flag passed

Andrew Pinski pinskia@physics.uc.edu
Wed May 26 02:36:00 GMT 2004


To support libobjc on Darwin I need able change -lobjc to
-lobjc-gnu if -fgnu-runtime is supplied.  I know that gcc.c
needs to be changed but I do not know where to change -lobjc
to be -lobjc-gnu, I tried LINK_SPECS but that did not work at
all.
Thanks,
Andrew Pinski



More information about the Gcc mailing list