Re: New gcc-3.1 packages (including gnat)
On Saturday 06 April 2002 21:16, you wrote:
>
> I bootstrapped it once on s390, but without luck because of my limited
> knowledge of ADA needed for compiler debugging. Maybe I'll give it a second
> try.
>
Hi,
it has worked this time. Here is what I did:
I installed the gcc and gnat 3.1 packages from Matthias on Intel. I made then
symbolic links from gcc-3.1 to gcc and from gnatbind-3.15 to gnatbind and
similar for the other gnat tools.
I installed a s390 glibc in /usr/local and built and installed cross-binutils
and cross-gcc and cross-ada using the latest source tarballs by issueing:
../binutils/configure --target=s390-ibm-linux
make
make install
./gcc/configure --target=s390-ibm-linux --enable-languages="c,ada"
make
cd gcc
make gnatlib
make cross-gnattools
cd ..
make install
I built the native gcc and ada compiler on Intel by issueing:
../gcc/configure --prefix=/home/ton/usr/ --host=s390-ibm-linux
--build=i386-pc-linux-gnu --enable-languages="c,ada"
make
cd gcc
make cross-gnattools
I installed the compiler then in my home directory using
cd ..
make install
and made a tarball from the installed files. I copied also the library files
/usr/local/lib/gcc-lib/s390-ibm-linux/3.1/adalib and
/usr/local/lib/gcc-lib/s390-ibm-linux/3.1/adainclude
from the crosscompile step to the tarball. The tarball was then transferred
to the target system and finally the ada bootstrap made according to
http://gcc.gnu.org/install/build.html
using the previously built compiler.
Please be sure, that the configure step says something like below. If not,
the make will work, but does some strange things.
checking for s390-ibm-linux-gnatbind... s390-ibm-linux-gnatbind
checking for compiler driver that understands Ada... s390-ibm-linux-gcc
Regards,
Gerhard
--
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: