Re: Problem compiling gcc 5.2.0 on VortexDX86 embedded

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25 September 2015 at 10:07, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote:
> On 25 September 2015 at 01:24, Renato Mendes wrote:
>> And I´m getting the following error:
>>
>>         make[3]: Entering directory
>> `/home/ftp/pub/gcc-5.2.0/host-i586-pc-linux-gnu/gcc'
>>     g++ -c   -g -DIN_GCC    -fno-exceptions -fno-rtti
>> -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual
>> -Wno-format -Wmissing-format-attribute -Woverloaded-virtual
>> -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
>> -I../.././gcc -I../.././gcc/build -I../.././gcc/../include
>> -I../.././gcc/../libcpp/include  \
>>      -o build/genmddeps.o ../.././gcc/genmddeps.c
>>     cc1plus: warning: -Wmissing-format-attribute ignored without -Wformat
>>     In file included from ../../gcc/genmddeps.c:19:
>>     ../../gcc/system.h:201:19: string: No such file or directory
>>     ../../gcc/system.h:218:22: algorithm: No such file or directory
>>     ../../gcc/system.h:219:20: cstring: No such file or directory
>>     ../../gcc/system.h:220:20: utility: No such file or directory
>>     ../../gcc/system.h:249:19: cstdlib: No such file or directory
>>     make[3]: *** [build/genmddeps.o] Error 1
>>     make[3]: Leaving directory
>> `/home/ftp/pub/gcc-5.2.0/host-i586-pc-linux-gnu/gcc'
>>     make[2]: *** [all-stage1-gcc] Error 2
>>     make[2]: Leaving directory `/home/ftp/pub/gcc-5.2.0'
>>     make[1]: *** [stage1-bubble] Error 2
>>     make[1]: Leaving directory `/home/ftp/pub/gcc-5.2.0'
>>     make: *** [all] Error 2
>>
>> After that the `make` procedure aborts. I´ve installed all the
>> dependencies (`tcl`, `expect`, `dejagnu`, `perl`, `m4`, `gmp`, `mpfr`
>> and `mpc`) and I don´t know what is missing.
>>
>> As said, the original Vortex linux has a `gcc 3.2.3` compiler version.
>>
>> I need to solve that but I don´t know where to start from. It seens to
>> have confusion with the own `gcc` libraries....
>
> Your GCC 3.2.3 is not a working C++ compiler, it doesn't seem to have
> any of the C++ standard library headers.
>
> You will need to install a working C++ compiler, or cross-compile from
> another system that has one.

Actually there is another option.

You can install GCC 4.7 first, as that can be built using only a C
compiler. Then use GCC 4.7 to build GCC 5.2




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux