[uClibc]When you struggle , you achieve...

Erik Andersen andersen at codepoet.org
Mon Oct 14 22:09:20 UTC 2002

On Mon Oct 14, 2002 at 12:48:21PM -0400, Mr Pink wrote:
> Is there anyway I could have set the SHARED_LIB_LOADER_PATH to something
> else than the path that is going to be used on the target embedded machine.
> In fact I would want to have the uClibc libraries in some other place than
> /lib on my development computer
> Read in : /uclibc/lib for example.
> but I want to install th lib in /lib on the target computer ???
> Is there anyway to do it ???

What I generally do is set up what I call a "staging directory",
i.e. suppose STAGING_DIR=/home/andersen/myproject/build/stage
then I would set


Then when I do a 'make install' it will install the uClibc
development environment into the staging directory.  When you
compile stuff, you then use $(STAGING_DIR)/bin/i386-uclibc-gcc as
your compiler and it will compile stuff using the libraries
living under $(STAGING_DIR)/lib.  These binaries expect to have
the uClibc shared libc under /lib which is perfect for when you
deploy your system.


Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--

More information about the uClibc mailing list