I can't install gcc 9
Jim Wilson
jimw@sifive.com
Tue Jul 2 03:59:00 GMT 2019
On Mon, Jul 1, 2019 at 11:39 PM Dorian ROSSE <dorianbrice@hotmail.fr> 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
More information about the Gcc-help
mailing list