From: Marcel M. <ma...@ya...> - 2007-08-12 23:34:15
|
Hello, I am trying to cross compile the log4cpp library (version 0.3.5) for= an arm architecture. I am invoking the ./configure script with the followi= ng options, but always the an error (see below)=0A=0A./configure --prefix= =3D/home/mem/LxNETES/rhapsody/liblogArm/ --with-pthread CC=3Darm-linux-gcc = CPPFLAGS=3D-I/home/mem/LxNETES/LxNETES/include/ LDFLAGS=3D-L/home/mem/LxNET= ES/LxNETES/lib/=0A(I have also trid: CC=3Darm-linux-gcc CPPFLAGS=3D-I/home/= mem/LxNETES/LxNETES/include/ LDFLAGS=3D-L/home/mem/LxNETES/LxNETES/lib/ ./c= onfigure --prefix=3D/home/mem/LxNETES/rhapsody/liblogArm/ --with-pthread b= ut also without success)=0A=0Aerror output:=0Achecking for gcc... arm-linux= -gcc=0Achecking for C compiler default output file name... configure: error= : C compiler cannot create executables=0ASee `config.log' for more details.= =0A=0AThis makes sense, since ARM executables are not the same as for intel= . How do I resolve this problem so that i can also compile the library to = tun on an arm system?=0A=0AThanks greatly for the help=0A=0AMarcel=0A=0A=0A= =0A=0A=0A =0A________________________________________________________= ____________________________=0ABuilding a website is a piece of cake. Yahoo= ! Small Business gives you all the tools to get online.=0Ahttp://smallbusin= ess.yahoo.com/webhosting |