On Wed, Aug 03, 2005 at 09:29:36PM +0200, Petr Stehlik wrote:
> Hi,
> 
> all I got is m68k-linux-gcc 2.95 and binutils 2.9.5 (running on debian
> sid ia32). What can I do if I want to cross compile 2.6.8 for atari? Is
> there a patch for the linux source code, or a simple way how to upgrade
> my binutils or perhaps a complete new cross compiler setup?

kegel.com/crosstool

The default configs don't quite work for kernel building, you need a newer
binutils, this is what I am using:

>m68k-linux-gcc -v
Reading specs from
/opt/crosstool/m68k-unknown-linux-gnu/gcc-2.95.4-glibc-2.2.5/lib/gcc-lib/m68k-unknown-linux-gnu/2.95.4/specs
gcc version 2.95.4 20010319 (prerelease)
>m68k-linux-as -v
GNU assembler version 2.15.91.0.2 (m68k-unknown-linux-gnu) using BFD version
2.15.91.0.2 20040727
Assembler messages:
Warning: architecture not yet selected: defaulting to 68020

But of course you can build many different combinations:
[EMAIL PROTECTED]:~>ll /opt/crosstool/m68k-unknown-linux-gnu/
total 28
drwxr-xr-x   8 cts cts 4096 Jan 12  2005 gcc-2.95.3-glibc-2.2.5
drwxr-xr-x   8 cts cts 4096 Jan 12  2005 gcc-2.95.3-glibc-2.3.3
drwxr-xr-x   8 cts cts 4096 Apr 18 23:44 gcc-2.95.4-glibc-2.2.5
drwxr-xr-x  10 cts cts 4096 Dec  4  2004 gcc-3.3.3-glibc-2.3.2
drwxr-xr-x  10 cts cts 4096 Dec  4  2004 gcc-3.4.1-glibc-20040827
drwxr-xr-x  10 cts cts 4096 Dec  4  2004 gcc-3.4.2-glibc-20040827
drwxr-xr-x   9 cts cts 4096 Apr 19 20:00 gcc-3.4.3-glibc-2.3.5

With a shell script I am setting links from /usr/bin/m68k-linux-* to the
files in /opt. Maybe it is time to put all this with working scripts on a
webpage...

Christian
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to