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: Linking cc1 to external libraries


> 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.


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