[RFH] changing linkfile name depending on a flag passed
Paolo Bonzini
bonzini@gnu.org
Wed May 26 07:13:00 GMT 2004
Andrew Pinski wrote:
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.
Is it feasible to install as both libobjc-gnu.a and libobjc.a on all
platforms but Darwin, and use -lobjc-gnu everywhere?
Just a wild guess.
Paolo
More information about the Gcc
mailing list