From: Fabio G. <fab...@au...> - 2008-01-07 11:52:48
|
Hi, I get such an error. checking how to run the C preprocessor... /home/fgiovagnini/sh7203-uClinux-1.4/build/stage/gcc/gcc/xgcc -B/home/fgiovagnini/sh7203-uClinux-1.4/build/stage/gcc/gcc/ -B/home/fgiovagnini/sh7203-uClinux-1.4/build/target/sh-linux/bin/ -B/home/fgiovagnini/sh7203-uClinux-1.4/build/target/sh-linux/lib/ -isystem /home/fgiovagnini/sh7203-uClinux-1.4/build/target/sh-linux/include -isystem /home/fgiovagnini/sh7203-uClinux-1.4/build/target/sh-linux/sys-include -E checking for egrep... grep -E checking for ANSI C header files... no checking for sys/types.h... no checking for sys/stat.h... no checking for stdlib.h... no checking for string.h... no checking for memory.h... no checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no checking for C locale to use... generic checking for std::allocator base class to use... new configure: "C" header strategy set to c_std checking for ISO C99 support in <math.h>... no checking for ISO C99 support in <stdio.h>... no checking for lldiv_t declaration... no checking for ISO C99 support in <stdlib.h>... no checking for additional ISO C99 support in <wchar.h>... no checking for enabled ISO C99 support... no checking for thread model used by GCC... single configure: Debug build flags set to -g3 -O0 checking for additional debug build... no checking for extra compiler flags for building... configure: WARNING: No native atomic operations are provided for this platform. configure: WARNING: They cannot be faked when thread support is disabled. configure: WARNING: Thread-safety of certain classes is not guaranteed. checking nan.h usability... no checking nan.h presence... no checking for nan.h... no checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking endian.h usability... no checking endian.h presence... no checking for endian.h... no checking sys/isa_defs.h usability... no checking sys/isa_defs.h presence... no checking for sys/isa_defs.h... no checking machine/endian.h usability... no checking machine/endian.h presence... no checking for machine/endian.h... no checking machine/param.h usability... no checking machine/param.h presence... no checking for machine/param.h... no checking sys/machine.h usability... no checking sys/machine.h presence... no checking for sys/machine.h... no checking for sys/types.h... (cached) no checking fp.h usability... no checking fp.h presence... no checking for fp.h... no checking float.h usability... no checking float.h presence... yes configure: WARNING: float.h: present but cannot be compiled configure: WARNING: float.h: check for missing prerequisite headers? configure: WARNING: float.h: see the Autoconf documentation configure: WARNING: float.h: section "Present But Cannot Be Compiled" configure: WARNING: float.h: proceeding with the preprocessor's result configure: WARNING: float.h: in the future, the compiler will take precedence configure: WARNING: ## ----------------------------------------- ## configure: WARNING: ## Report this to the package-unused lists. ## configure: WARNING: ## ----------------------------------------- ## checking for float.h... yes checking for endian.h... (cached) no checking for inttypes.h... (cached) no checking locale.h usability... no checking locale.h presence... no checking for locale.h... no checking for float.h... (cached) yes checking for stdint.h... (cached) no checking for main in -lm... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. make[3]: *** [configure-target-libstdc++-v3] Error 1 make[3]: Leaving directory `/home/fgiovagnini/sh7203-uClinux-1.4/build/stage/gcc' make[2]: *** [build] Error 2 make[2]: Leaving directory `/home/fgiovagnini/sh7203-uClinux-1.4/build' make[1]: *** [gcc-3.4.6] Error 2 make[1]: Leaving directory `/home/fgiovagnini/sh7203-uClinux-1.4/build' make: *** [/home/fgiovagnini/sh7203-uClinux-1.4/build/target/.toolchain] Error 2 How can I check? Best Regards Alle 10:59, domenica 6 gennaio 2008, Kieran Bingham ha scritto: > Fabio, > > The buildscripts that make the BSP also make the toolchain, - so you > could potentially look into adding C++ to the toolchain yourself. > I didn't look into it at the time, as I was on short timescales - and > only needed a c compiler. > > I don't know what's involved in adding extra languages - but if you > look in the build folder, at Makefile.gcc-3.4.6 the configure line is > in there. > Looking at it, it could be as simple as changing the line > > --enable-languages="c" > to > --enable-languages="c,c++" > > I have no idea if it will be that simple or if you will hit any problems - > > change the build script > type make distclean (important as the scripts won't know to rebuild > the toolchain) > then make > > And let us know how it goes - if it works with no problems I'll try to > ensure that c++ is enabled by default in the future. > -- > Kieran Bingham > > On 05/01/2008, Fabio Giovagnini <fab...@au...> wrote: > > Hi, > > I'd like to run qt embedded on my sh2a 7203 eva board. > > MCP data gave me with the board the uClinux tree working with the BSP > > working properly; but in the tool chain there is only gcc and not g++ so > > I cannot try to build qt embedded. > > I'd like to keep in place the tree from MCP data because of it has the > > BSP properly configured and workign so I do not stend time to do the same > > from scratch, btu I would only replase teh toolchain; > > How could I procede? > > > > Thanks a lot. > > na d Best Regards > > > > > > -- > > Fabio Giovagnini > > > > Aurion s.r.l. > > via degli orti 11, > > 40050 Funo di Argelato (BO) > > P.I e C.F. > > 00885711200 > > Tel. +39.335.8350919 > > Fax +39.051.8659009 > > > > www.aurion-tech.com > > > > account telefono VoIP skype (www.skype.com): > > aurion.giovagnini > > - > > To unsubscribe from this list: send the line "unsubscribe linux-sh" in > > the body of a message to maj...@vg... > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > - > To unsubscribe from this list: send the line "unsubscribe linux-sh" in > the body of a message to maj...@vg... > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Fabio Giovagnini Aurion s.r.l. via degli orti 11, 40050 Funo di Argelato (BO) P.I e C.F. 00885711200 Tel. +39.335.8350919 Fax +39.051.8659009 www.aurion-tech.com account telefono VoIP skype (www.skype.com): aurion.giovagnini |