Re: I can't install gcc 9

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

 



On Mon, Jul 1, 2019 at 11:39 PM Dorian ROSSE <dorianbrice@xxxxxxxxxx> wrote:
> When I launch It command line :
> ./configure --enable-languages=c,c++,go && make && make install

Builds in the gcc source directory (aka srcdir) don't always work.
Try instead something like
  cd ..
  mkdir build
  cd build
  ../gcc/configure --enable-languages=c,c++,go && make && make install
This allows one to build multiple compilers using the same code base,
which is very useful for people supporting multiple targets, or
multiple compiler configurations.

> The system is an amd64 but It is use by i386 !

It was clearly configured for an x86_64 system.  See for instance the
reference to config/i386/x86-64.h and the reference to
../build-x86_64-pc-linux-gnu/libiberty/libiberty.a.  I think you are
confused by the i386 references, but the i386 and x86_64 ports share
the same code base, which is stored in the gcc/config/i386 directory.
The only difference is a couple of header files which determine
whether i386 or x86_64 code is emitted by default, and whether it
supports only i386 output or both i386 and x86_64 output.

Jim



[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