Post by Greg UngererHi Angelo,
Post by angeloSry, i forgot html format enabled, so i resend.
Dear Greg and all,
i am building from some time some c++ apps for mcf5307.
At the time being, with the toolchain m68k-uclinux-20101118 i get
some errors, like usleep not declared, even including <unistd.h>,
as
88:15: error: usleep was not declared in this scope
Actually, the only toolchain i can use successfully for c++
apps on mcf5307 is an old
Sourcery_CodeBench_Lite_for_ColdFire_uClinux
But we know they are no more available / open. Do you know any other
alternative ? Or a guide i can use to prepare a c,c++ toolchain
for uClinux (then i can make it available) ?
Attached is a build script I use to build m68k-uclinux toolchains.
Most recently I have built and am testing a gcc-5.3 based toolchain.
The elf2flt package referenced in this script was just a snapshot
of the github uclinux/elf2flt tree on that date.
I don't know if it will work any better for you with c++ apps,
but it is worth a try.
Note that gcc-5.3 will produce broken non-MMU m68k linux
for kernel versions older then 4.5 (due to code generation
issues with the signal handling code). So keep that in mind
if you are compiling kernels with it.
Regards
Greg
_______________________________________________
uClinux-dev mailing list
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
http://mailman.uclinux.org/mailman/options/uclinux-dev