comp.lang.ada
 help / color / mirror / Atom feed
* Help : Building gnat tools upon a cross gcc ?
@ 1996-07-30  0:00 Projet SPIF
  0 siblings, 0 replies; only message in thread
From: Projet SPIF @ 1996-07-30  0:00 UTC (permalink / 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.


        
	  

	






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-07-30  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-07-30  0:00 Help : Building gnat tools upon a cross gcc ? Projet SPIF

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox