From: Alexis <jose_alexis_paez_thurgood@hotmail.com>
Subject: Re: Gnat cross compiler
Date: Mon, 24 May 2010 08:44:59 -0700 (PDT)
Date: 2010-05-24T08:44:59-07:00 [thread overview]
Message-ID: <5464dc3e-3f0b-403c-9d1d-894a235d9453@q33g2000vbt.googlegroups.com> (raw)
In-Reply-To: op.vc1ttqy9xmjfy8@garhos
>
> Note: I could not really help you with building a cross-compiler with
> Cygwin, as I suspect the related issues to be not the same as with MinGW.
> The only thing I'm pretty sure about, reading your initial post, is that
> your sysroot is not properly setup.
>
> --
> There is even better than a pragma Assert: a SPARK --# check.
Hi again, and thanks again for your help.
Going back to the possibility of compiling libada for i686-elf target,
please bear with me just in case you might be able to help me with the
sysroot, this is what I have done so far:
From a standard Cygwin installation and with the src files in /usr/srx
export PREFIX=/usr/cross
export TARGET=i686-elf
cd /usr/src
mkdir build-binutils build-gcc
After successfully building the binutils then:
cd /usr/src/build-gcc
export PATH=$PATH:$PREFIX/bin
../gcc-4.3.4/configure --target=$TARGET --prefix=$PREFIX --disable-nls
--enable-languages=c,c++,ada --without-headers
make all-gcc
make install-gcc
then:
make all-target-libgcc
make install-target-libgcc
then:
make all-target-libada
Where it fails trying to do the make -C rts.
Where should I be setting the sysroot directory?
Kind regards, Alexis.
next prev parent reply other threads:[~2010-05-24 15:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-20 14:29 Gnat cross compiler Alexis
2010-05-20 15:49 ` Yannick Duchêne (Hibou57)
2010-05-21 7:31 ` Alexis
2010-05-21 9:26 ` Yannick Duchêne (Hibou57)
2010-05-24 15:44 ` Alexis [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-02-12 0:00 T/KP David Karlsson
1997-02-12 0:00 T/KP David Karlsson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox