Using CPPFLAGS to 32bit building AND point to source files simultaneously!
by coltson from LinuxQuestions.org on (#5PF4T)
Hi. If I try to build a 32bit, I pass Code:CPPFLAGS=-m32 LDFLAGS=-m32 CFLAGS=-m32 ./configure --host=i386-linux-gnu to configure.
However, I install all header files and their associated libraries into their own directories.
So when a program I am currently building needs to look for certain source files, I do: Code:CPPFLAGS=-/media/34GB/Arquivos-de-Programas/whatever/include ./configureHowever, for 32bit builds, CPPFLAGS is already busy receiving "-m32"
So, what can I do to make CPPFLAGS to do both things?
However, I install all header files and their associated libraries into their own directories.
So when a program I am currently building needs to look for certain source files, I do: Code:CPPFLAGS=-/media/34GB/Arquivos-de-Programas/whatever/include ./configureHowever, for 32bit builds, CPPFLAGS is already busy receiving "-m32"
So, what can I do to make CPPFLAGS to do both things?