Re: Need Help building Sable for Arm9

Peter Lovell <[email protected]> Wed, 13 Apr 2005 06:22:59 -0400
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
On Apr 13, 2005, at 4:36 AM, Stage Iup - Fabrice & Frédéric wrote:

> I'll try to summarise the install
> i've done:
> libffi, libtool, libpopt with
> configure CC=/usr/local/arm/3.0/bin/arm-linux-gcc --target=arm
> --host=arm-linux --build=i686-linux
> make
> make install
>
> next i've put zlib (without any cross options) with configure, make,
> make install
>
> and now in sableVm, my configure command line works fine
> configure CC=/usr/local/arm/3.0/bin/arm-linux-gcc
> LDFLAGS="-L/usr/local/lib"
> CPPFLAGS="-I/usr/local/arm/3.0/arm-linux/include" --target=arm
> --host=arm-linux --build=i686-linux --prefix=$HOME/sableVM
>
> but, there is a but, make doesn't works at all, there's lines and 
> lines of error
>

CPPFLAGS needs also to have the path to where the headers were 
installed. I had thought that it was part of the default path, but 
perhaps not.

Something like ...

> CPPFLAGS="-I/usr/local/arm/3.0/arm-linux/include -I/usr/local/include"

but check that this is actually where ffi.h ltdl.h and their friends 
were installed.

You already have the library path in LDFLAGS so hopefully this is all 
that's missing.

Regards.....Peter