[linux-cirrus] Re: Cross-compiling Speex with Cirrus Logic MaverickCrunch support

  • From: llandre <r&d2@xxxxxxxxxxxx>
  • To: Yann POUPET <yann@xxxxxxxxxxxx>
  • Date: Wed, 11 May 2005 10:29:34 +0200

Hi Yann,

thanks a lot for your help.
Following your advices I was able to build the libraries. I still can't
build the encoder/decoder applications because ogg libraries were not
built with MaverickCrunch support. So I first have to cross-builb ogg too.
I think I'm pretty close to have MaverickCrunch-enabled speex codec ...


Regards,
llandre

DAVE Electronics System House - R&D Department
web:   http://www.dave-tech.it
email: r&d2@xxxxxxxxxxxx


>Hi Llandre.
>
>Here are the options I used to compile flac (whith nucleus toolchain)
>
>export LDFLAGS=-L/home/yannouch/KURZFMB/ToolChains/NucleuSys/ep93xx-d1/lib
>export LIBPATH=/home/yannouch/KURZFMB/ToolChains/NucleuSys/ep93xx-d1/lib
>export
>PATH=/home/yannouch/KURZFMB/ToolChains/NucleuSys/ep93xx-d1/bin:/bin:/usr/bin:...
>export CC=arm-linux-gcc
>export CXX=arm-linux-g++
>export CFLAGS='-mcpu=ep9312 -mfix-crunch-d1'
>export CXXFLAGS='-mcpu=ep9312 -mfix-crunch-d1'
>export RANLIB=arm-linux-ranlib
>export STRIP=arm-linux-strip
>export LD=arm-linux-ld
>export AR=arm-linux-ar
>
>
>./configure  --without-xmms
>--with-ogg-includes=/home/yannouch/embarque/kurz/cdrom/Rootfilesystem/fmbroot/usr/include/
>--with-ogg-libraries=/home/yannouch/embarque/kurz/cdrom/Rootfilesystem/fmbroot/usr/lib/
>--enable-release --host=arm-linux --disable-shared --disable-oggtest
>--disable-id3libtest --disable-local-xmms-plugin --enable-static
>--disable-sse --disable-3dnow
>--prefix=/home/yannouch/embarque/kurz/cdrom/Rootfilesystem/fmbroot/usr
>
>Firstly, configure complained about :
>
>"checking for C compiler default output file name... configure: error: C
>compiler cannot create executables"
>
>and
>
>"checking for suffix of executables... configure: error: cannot compute
>suffix of executables: cannot compile and link"
>
>I have modified configure to avoid these tests (commented them)
>
>Dir /home/yannouch/embarque/kurz/cdrom/Rootfilesystem/fmbroot/ is the
>NFS root filesystem.
>Dir /home/yannouch/KURZFMB/ToolChains/NucleuSys/ep93xx-d1/ is the place
>where is located nucleus toolchain.
>
>Then afterwards it compiled allmost fine (I had to change some other
>things but I don't think it is linux-cirrus related)
>
>Hope this helps.
>
>Regards
>
>Yann
>
>
>llandre wrote:
>
> > Hello,
> >
> >> > I'm trying to cross-build speex with MaverickCrunch support, but I
> >> > encountered
> >> > a problem with libtool. I'm working with the old Cirrus binary tool
> >> chain.
> >> > Here are more details:
> >> > http://lists.xiph.org/pipermail/speex-dev/2005-May/003288.html.
> >> > Anybody can help me?
> >> >
> >>
> >> Hi,
> >>
> >> I had the same problem while compiling flac (at least the same error
> >> message :
> >> ERROR: XXXXX uses Maverick instructions, whereas YYYYYYY does not). I
> >> think I
> >> resolved it by specifying LDPATH or -L/path/to/ep9312/crunched-libs/
> >
> >
> > I tried to define both LDFLAGS and LDPATH variables but it did not
> > work :(
> >
> >> I can tell you tonight if this doesn't help.
> >
> >
> > Ok, I'd appreciate very much it very much.
> >
> >
> > Looking forward to hear you,
> >
> > llandre
> >
> > DAVE Electronics System House - R&D Department
> > web:   http://www.dave-tech.it
> > email: r&d2@xxxxxxxxxxxx


Other related posts: