Yes, I tried that (freescale-coldfire-4.4-53-m68k-uclinux-i686-pc-linux-gnu.tar.bz2) but their g++ did not honer the "-shared" option. (it complained about no Main! so it must have ignored it completely) While I understand that the loading process in the Kernel is necessarily different than normal linux...I would have thought the external commands would be the same....is that not the case? (judging from the blackfin line, they think it should and can be in ucLinux http://docs.blackfin.uclinux.org/doku.php?id=toolchain:creating_libraries)
I tried several permutations of: eldenlinux2: /e/gcc2/c/mycode/shared_lib_test $ m68k-uclinux-g++ -m5307 -Wall -msep-data test_harness.o Crc.o A.o B.o -shared -Wl,-soname,smallLib.so -o smallLib.so /e/gcc2/c/freescale-coldfire-4.4/bin/../m68k-uclinux/libc/m5307/msep-data/usr/lib/crt1.o: In function `_start': (.text+0x26): undefined reference to `main' collect2: ld returned 1 exit status So just for kicks I put a 'main' in one of the files I was compiling for the eventual "*.so"..... but indeed the it had generated an executable, failing with: m68k-uclinux-g++ -o cpp_test cpp_test.o main.o smallLib.so -m5307 -msep-data -ggdb -Wall smallLib.so: file not recognized: File format not recognized That leads me to another question, what's the magic number for an .so in ucLinux? (is it different than the executables 'bFLT'?) (they appear the same when compiling for my i686 Linux 2.6.31-17-generic) -----Original Message----- From: uclinux-dev-boun...@uclinux.org on behalf of Matt Waddel Sent: Wed 1/27/2010 9:48 PM To: uClinux development list Subject: Re: [uClinux-dev] Where are latest and Greatest tool (binutil and gcc,for m68k) You'll want to look at the Lite editions of the Coldfire toolchains at: http://www.codesourcery.com/sgpp/lite/coldfire There are several options for pre-built binaries and source code available. --Matt ----- Original Message ---- From: Elden Crom <eld...@tucsonembedded.com> To: uClinux development list <uclinux-dev@uclinux.org> Sent: Wed, January 27, 2010 7:04:07 PM Subject: [uClinux-dev] Where are latest and Greatest tool (binutil and gcc, for m68k) Where is the latest and greatest version of gcc, binutils, etc for the m68k-uclinux? from some reading that I've done I think I want the latest version of 'build-uclinux-tools.sh', but I only find that file in the blackfin cvs. or in http://www.uclinux.org/pub/uClinux/m68k-elf-tools/tools-20060615/ ...but that seems kinda old (gcc-4.1.1). I don't know the 'logical' places to look...but... I can see why you don't want to store the gcc, etc repositories, but how about the build script? Should it be along side the readme that talks about it? ./uClinux-dist/tools/README (from cvs -z3 -d:pserver:anonym...@cvs.uclinux.org:/var/cvs co -P uClinux-dist) _______________________________________________ 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
<<winmail.dat>>
_______________________________________________ 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