Linking cc1 to external libraries
Alexandre Courbot
Alexandre.Courbot@lifl.fr
Thu Apr 17 14:05:00 GMT 2003
> 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.
More information about the Gcc
mailing list