[uClibc-cvs] cvs commit to uClibc/extra/gcc-uClibc by mjn3

Manuel Novoa III mjn3 at uclibc.org
Thu May 31 14:08:15 UTC 2001


On Wed, May 30, 2001 at 09:12:47PM -0400, Tom Cameron wrote:
> Manuel
>     What?  Okay, I'm not so sure I understand what you're saying.  I got the
> setting it in the environment...but what are you talking about renaming
> and/or symlinking?  Rename or symlink what?  Where to?

The gcc wrapper checks the UCLIBC_GCC environment variable for the string
"build", but it also checks the invocation name.  So, if you create a
symlink, eg. "ln -s i386-uclibc-gcc i386-uclibc-gcc-build", then
"i386-uclibc-gcc-build helloworld.c -o helloworld" will build helloworld
using the headers and libs in the uClibc build directory.

Using the environment variable is generally better as it allows you to use
the gcc symlink in $(INSTALL_DIR)/bin.  That makes building packages much
easier.

Manuel





More information about the uClibc-cvs mailing list