Re: [mpg123-devel] ARM cross compile
Brought to you by:
sobukus
From: JonY <jo...@us...> - 2011-07-21 12:15:04
|
On 7/21/2011 15:18, Sergio Serrano wrote: > Hi forum. > > I'm trying to cross compile mpg123 (configure, make, make install) > using a command like this: ./configure > --target=arm-none-linux-gnueabi --host=arm-none-linuxgnueabi > --prefix=/srv/nfs/poky/poky-image-minimal/igep002 > > Is running perfectly. I can see that ARM cpu is choosen: CPU > Optimization ........ arm_nofpu > > The problem is when running make, at the very beggining it shows: > dct64.c:38: warning: asm operand 4 probably doesn't match > constraints dct64.c:38: error: impossible constraint in 'asm' > > I'm very noob to ARM + asm + cross compile. Please can someone with > this or point me to the right way to solve it? > Hi, I'm not too clear on ARM asm myself, but --target= is for compilers and code generators, mpg123 doesn't generate code, so its superfluous. Which version of GCC are you using? Does compiling with -O0 work? |