From: spif@news.enst.fr (Projet SPIF)
Subject: Help : Building gnat tools upon a cross gcc ?
Date: 1996/07/30
Date: 1996-07-30T00:00:00+00:00 [thread overview]
Message-ID: <4tl51s$jh@enst.enst.fr> (raw)
Hi all,
I am currently working on the port of the GNAT run time library
for an embedded system.
My first work is to install GNAT with gcc as a cross compiler
(sparc-solaris -> m68k-bare) with a dummy RTL for the moment.
Everything runs fine for the compiler itself and the dummy lib,
but I have troubles with the GNAT tools (gnatlink, ...).
The makefile clearly says : "Use for native compiler only" before
the gnatlib_and_tools target, and it effectively does not work,
but I have no idea of how to do it in a different way.
I may miss something in the installation process or in the under-
standing of the use of these tools in a cross compiling environment.
I tried the following installation sequence :
- Applied the GNAT patches for gcc 2.7.2
- Copied the ada directory from the GNAT sources to the root of the
gcc source tree
- Touched the right files in the copied ada directory
- Configured gcc as a cross compiler
- Ran make CC=gcc CFLAGS="-O2" LANGUAGES="c ada"
- Skipped the bootstrap sequence for obvious reasons
And I now would like to make the tools but ...
Any help would be greatly appreciated.
Thanks in advance.
Olivier.
reply other threads:[~1996-07-30 0:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox