I tried using m68k-uclinux-tools-20061214.sh, which is the binary for m68k-elf-gcc --version 4.1.1, but with snapgear-4.0.0, it seems as thought there is a bug in 4.1.1 that I cannot compile with, so I figured that I would try and build my own cross-compiler.

So I would like some sanity checks....

To compile uclinux (and custom code) I need the following:

gcc 4.3.3
binutils 2.19.1

Correct?  Or is there any other packages that I need, newlib for example?

I'm using a Linux PC already, not Cygwin or Windows...

And for the compile flags (I know about the directory structure for building already)

binutils:
configure --target=m68k-elf --prefix=/usr/local
make CFLAGS="-Os -w"
make install

gcc:
configure --target=m68k-elf --prefix=/usr/local --enable-multilib --disable-libssp
make CFLAGS="-Os -w"
make install

Anything else that I missed?

And does everyone "make" their own, or use a binary for the compilers? If binaries, who's binaries?

Thanks
Mark



_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to