View Single Post
  #3   (View Single Post)  
Old 13th September 2008
hsw hsw is offline
New User
 
Join Date: May 2008
Posts: 7
Default

Hello,
Trying to build a cross compiler is quite difficult with gcc you often have to
patch various parts of the gcc build system for it to work.

I have a partial port of gcc for arm, but it was done on 6.2. If you want that I can send it
to you - just let me know.

You do not need to have the compiler produce binary object you leave it to the
linker(ld) - and a particular linker script that matches the memory layout
of your hardware.

You might have more success looking into crosstool - not sure if it will work
on 7 though.

www.kegel.com/crosstool/

This is a script that can do all the patching. I used it on FreeBSD for ARM cross compiler. Also built a Linux version using a Debian chroot on freeBSD.

Let me know if you want more info.

Last edited by hsw; 13th September 2008 at 02:37 PM. Reason: correct spelling
Reply With Quote