CFLAGS and LDFLAGS question
export CFLAGS="-I/lfs1/tools/include -I/lfs1/tools/include/linux -I/lfs1/usr/include -I/lfs1/usr/include/linux -I/lfs1/usr/local/include -I/lfs1/usr/local/include/linux -I/usr/include -I/usr/include/linux -I/usr/local/include -I/usr/local/include/linux"
export LDFLAGS="-L/lfs1/tools/lib -L/lfs1/lib -L/lfs1/usr/lib -L/lfs1/usr/local/lib -L/lib -L/usr/lib -L/usr/local/lib"
I'm using the above. I'm compiling a system into the /lfs1 folder, which is basically a Linux From Scratch system, except that it is not expected to be stand-alone and it may rely on the host system more. The goal is to be able to run newer software on a host system that is running somewhat older software.
My problem is that the software that I'm compiling can't find simple stuff like /lfs1/usr/include/string.h
Anyone know what my problem is? What am I doing wrong? Do I need to use other variables?
|