Re: toolchain for c++ on coldfire
angelo <[email protected]> Thu, 21 Apr 2016 09:08:47 +0200
| Newsgroups | gmane.linux.uclinux.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Greg, i am currently stuck at STAGE5, with this error: checking size of double... 8 checking size of long double... 12 checking for inttypes.h... no checking for stdint.h... no checking for stdlib.h... no checking for ftw.h... no checking for unistd.h... no checking for sys/stat.h... no checking for sys/types.h... no checking for string.h... no checking for strings.h... no checking for memory.h... no checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... no checking whether decimal floating point is supported... no configure: WARNING: decimal float is not supported for this target, ignored checking whether fixed-point is supported... no checking whether to use setjmp/longjmp exceptions... unknown configure: error: unable to detect exception model Makefile:12550: set di istruzioni per l'obiettivo "configure-target-libgcc" non riuscito make[1]: *** [configure-target-libgcc] Errore 1 make[1]: uscita dalla directory "/home/angelo/archivio/aziende/sysam/uClinux-toolchains/m68k-uclinux-gcc" Makefile:876: set di istruzioni per l'obiettivo "all" non riuscito make: *** [all] Errore 2 Any idea on what it could be ? Thanks Regards, Angelo On 20/04/2016 08:01, angelo wrote: Many thanks, i see that the patch seems related to this https://gcc.gnu.org/ml/gcc/2016-04/msg00118.html It is the workaround i see also somewhere, so good to have it. Regards, Angelo On 20/04/2016 02:24, Greg Ungerer wrote: Hi Angelo, On 20/04/16 04:14, angelo wrote: infinite thanks. Do you maybe have also the gcc-5.3.0-fix-libgcc-build.patch ? Yep, attached. Regards Greg On 19/04/2016 15:52, Greg Ungerer wrote: Hi Angelo, On 19/04/16 17:40, angelo wrote: Sry, 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 [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 _______________________________________________ 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 _______________________________________________ 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 _______________________________________________ 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