Hello Nicolas,
At 17:22 28/02/2001, Nicolas Pitre wrote:
On Wed, 28 Feb 2001, Sunny Chan wrote:
Hello,
I am trying to integrate libmad into my MP3 player project - I am trying to presuade make to compile using arm-elf-gcc & co instead of normal gcc
however if I do
./configure --target=arm-elf --enable-fpm=arm
The autoconf script didn't change the compiler used by make therefore I can't compile it...
What you should do is:
CC=arm-elf-gcc RANLIB=arm-elf-ranlib ./configure arm-elf --enable-fpm=arm
Nicolas
Tried that but then it says:
configure: error: installation of configuration problem: C compiler cannot create executables.
Maybe we should actually modify the autoconf files to take care of cross compiling directly?
+---------------------------+---------------------------------+ |Sunny Chan also Sunny Computer Laboratory | |Computing (MEng) Year 4 | "Power of Computing is yours" | |Imperial College, London | http://www.sunnycomputer.co.uk | +-------------------------------------------------------------+ email: sunny_chan@usa.net ICQ UIN: 2110678 mobile: 07887 704088