This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Need Help on Building GNAT Cross Compiler


Ken Rose wrote:

Pee Seeumpornroj wrote:

Hi all,

Could anyone please tell me how to build a GNAT Cross Compiler from host i686-linux-pc to a powerpc-eabi? I'm running Redhat 9.0. I successfully built a gcc cross compiler (host=i686-linux-pc, target=powerpc-eabi) using:
binutils-2.11.2.tar.gz gcc-2.95.3.tar.gz
newlib-1.9.0.tar.gz
build-crossgcc.sh (from Bill Gatliff's website)


And I'm not sure if the steps are similar. I read README.BUILD of gnat-3.15 source distribution, and it seems that we configure the gcc first then install both gcc and gnat afterwards. I'm not quite sure if I can configure gcc as the way I did before for building gcc cross compiler, then build gnat. I actually tried that, but I ran into some errors. Please let me know. Thank you very much!


It's not clear from your message whether you have GNAT installed on your build machine. You need a working Ada compiler to build an Ada compiler.

And powerpc-eabi will not support features like tasking or filesystem. You may want to look at using
GNAT with RTEMS. With RTEMS, you get full tasking and optional filesystem support.


There are binaries for gcc 3.x based gnat at ftp.oarcorp.com.

--joel


- ken




------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com






------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]