GCC Makefile/Configuration System

Mark Fortescue mark@mtfhpc.demon.co.uk
Tue Apr 17 23:42:00 GMT 2007


Hi,

I have been using modified versions of gcc-3.4.4 and gcc-4.0.2 to do corss 
compilation builds with --host=sparc-linux --build=i586-linux 
--target=sparc-linux with some sucess however it has not been easy getting 
the ADA builds to work properly.

On upgrading from gcc-4.0.2 to gcc-4.1.2, the ADA build has become very 
broaken again (it keeps on trying to use the i586-linux ADA library/tools 
instead of the sparc-linux ADA library it has just built and/or the 
sparc-linux ADA library/tools created when compiling the sparc-linux-gcc 
cross compiler).

This is not a new issue. It took me a long time to fix gcc-3.4.4 and 
gcc-4.0.2 so they used the correct tools/libraries, however I have not 
worked on it for over a year and the Makefile/Configuration system has 
changed to the point where I am not sure what is going on with gcc-4.1.2.

Is there any usefull documentation on how the gcc ADA Makefile/Configuration 
actually works/is meant to work?

I wish to get a fully functional gcc-4.1.2 cross compiler setup so that I 
can create an ADA compiler to use on a sparc-linux system. If I understod 
what is meant to be going on in the build, it would prpbably not take too 
long to fix the errors and submit an appropraite patch.

If any one is interested, the changes to gcc-4.0.2 consists a few small 
changes in thirteen files.

Regards
 	Mark Fortescue.






More information about the Gcc-help mailing list