This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFH] changing linkfile name depending on a flag passed


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]