"David Wu" <[EMAIL PROTECTED]> writes: > I tested your file on a 5329 board and it runs fine. > > m68k-uclinux-gcc -Wl,-elf2flt -m5307 -msep-data -o hello hello.cpp > -lstdc++ -lc -lgcc > > I'm using gcc version 4.1.1 (Sourcery G++ Lite 4.1-32)
Note that we specifically had to teach that compiler to avoid BINFMT_FLAT: reloc outside program ... errors. The patches are now in GCC mainline, and will be included in FSF GCC 4.3, but FSF GCC 4.1 generates "symbol + offset" constants for essentially any offset. So Praveen, if you're using a stock 4.1 compiler, you might like to try the Sourcery G++ Lite version instead. (Sorry if that sounds like a plug. ;/) Richard _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
