This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Linking cc1 to external libraries
- From: Alexandre Courbot <Alexandre dot Courbot at lifl dot fr>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Thu, 17 Apr 2003 15:18:19 +0200
- Subject: Re: Linking cc1 to external libraries
- References: <4007BBB6-70D3-11D7-9950-000393A6D2F2@physics.uc.edu>
> I would look the variable `LIBS' (located around line 693 on the
> mainline).
I had seen it too - unfortunately, it is used not only when linking cc1, but
also for xgcc and cpp. Of course, it wouldn't hurt much to have these linked
to the library as well, since cc1 would be. But it's certainly not the
cleanest way to do. In my mind, since only cc1 need this lib, it doesn't make
sense to link the other programs with it too.
Anyway, your mail made me think again about it, and it seems that it would be
less hassle than including the lib to the backend. The problem (or should I
rather say feature) still remains half-open, though.
Thanks!
Alex.