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: Win2000 to m68k cross-compile


I think I made it past my problems (except for a minor 1).

 

 

Here is what I did (after cleaning up from my previous attempts):

 

1)       Downloaded and installed cygwin

2)       Downloaded the binutils-2.13.tar  gcc-3.0.4.tar
newlib-1.9.0.tar.

3)       Mkdir m68k-elf && cd m68k-elf

4)       Untarred each file into m68k-elf

5)       Mkdir build

6)       Cd build

7)       ../binutils-2.13/configure -target=m68k-elf

8)       make all install

9)       ../gcc-3.0.4/configure -target=mk68k-elf -without-headers
-with-newlib

10)   make all-gcc install-gcc

11)   ../newlib-1.9.0/configure -target=mk68k-elf

12)   make all install

13)   ../gcc-3.0.4/configure -target=m68k-elf -with-newlib

14)   make all install

 

The only real difference (from previous attempts) was adding
"-with-newlib" to step 13.  I don't remember seeing this anywhere I
looked.

 

I repeated the process with -target=m69k-coff and had mostly the same
success. The only error was with the install take on step 14. It
complained about files in /usr/local/bin/#inst.xxxx# (xxxx is some
number) not being found it. This was because the file actually had a
.exe extension added on it. Then the problem went mysteriously away. I
still have to test to make sure that the compiler works..

 

I did the same series of steps (minus the "-with-newlib") on RedHat
Linux 7.3 and it worked there perfectly.



BEGIN:VCARD
VERSION:2.1
N:Lott;Buddy
FN:Buddy Lott
EMAIL;PREF;INTERNET:BuddyLott@kmc-controls.com
REV:20020613T135616Z
END:VCARD

------
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]