This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[RFH] changing linkfile name depending on a flag passed
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: GCC List <gcc at gcc dot gnu dot org>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>
- Date: Tue, 25 May 2004 22:36:40 -0400
- Subject: [RFH] changing linkfile name depending on a flag passed
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