Hi all,

Greg, i finally have the toolchain created,
had to go over the 2 follwing issues:

1) as you pointed out, uclibc headers install path was not correct,
had to modify manually uClibc.X.X/.config with the correct

RUNTIME_PREFIX=
DEVEL_PREFIX=

under include, i have now all libc includes.

2) compilation was still breaking on

checking whether to use setjmp/longjmp exceptions... unknown
configure: error: unable to detect exception model

I replaced binutils 2.26 with 2.25, all worked fine.

------------------------------------------------------------

Btw, using the new generated toolchain to compile a c++ app,
 i still get same error i had with older uclinux toolchians:

src/manager.cc:88:15: error: ‘usleep’ was not declared in this scope
   usleep(10000);
               ^
makefile:37: set di istruzioni per l'obiettivo "obj/manager.o" non riuscito
make: *** [obj/irc_manager.o] Errore 1

 


Thomas,
many thanks, will try buildroot in case.

Regards,
angelo


On 21/04/2016 17:22, Thomas Petazzoni wrote:
Hello,

On Tue, 19 Apr 2016 09:40:15 +0200, angelo wrote:

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) ?
You can also try to build a Coldfire toolchain with Buildroot. We have
some minimal m68k support, but the uClibc-ng maintainer is very
reactive and will very likely help if you report some issues. And using
Buildroot, you will not only be able to build the toolchain, but also
a complete Linux system.

Best regards,

Thomas

_______________________________________________
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