On Thu, 18 Oct 2001, Michael Renzmann wrote:
> How can I tell gcc which version of a system library (e.g. glibc or
> uclibc) to use for linking? I used uclibc for some things, which worked
> fine due to the gcc-wrapper. But how can I tell gcc manually which
> system library to use? Are there any howtos out there that I could read?
Just use the compiler wrapper which comes with uClibc. After you have
installed uClibc on your development system ('make install') you can use
PATH=/usr/i386-linux/uclibc/bin:$PATH make
instead of a "normal" make and everything is linked against uClibc.
Robert
--
+--------------------------------------------------------+
| Dipl.-Ing. Robert Schwebel |
| Linux Solutions for Science and Industry |
| Braunschweiger Stra�e 79, 31134 Hildesheim, Germany |
| Phone: +49-5121-28619-0 Fax: +49-5121-28619-4 |
+--------------------------------------------------------+
--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.