This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: make compiled a lot of programs, but not gcc
- From: Xi Ruoyao <xry111 at mengyan1223 dot wang>
- To: gnu dot org at marco dot sulla dot e4ward dot com, gcc-help at gcc dot gnu dot org
- Date: Tue, 18 Feb 2020 19:02:38 +0800
- Subject: Re: make compiled a lot of programs, but not gcc
- References: <CABbU2U_6SiNuEqwOnU8_QbYK5Y=CO0TXWL0Kn2A4zHzQ24KFfA@mail.gmail.com>
- Reply-to: gcc-help at gcc dot gnu dot org
On 2020-02-18 11:38 +0100, Marco Sulla wrote:
> Hello all. I have a problem compiling gcc 9.2.0 on my machine.
>
> TL;DR
> After the make, I have a lot of programs in `gcc` subdir, like `xgcc`,
> `cpp`, `gfortran` etc, but *not* gcc. What I did wrong?
Before installation it's just named "xgcc". "make install" will install it as
"gcc".
> Long explanation. I:
> 1. downloaded the tar of gcc 9.2.0 from the official size
> 2. extracted it in a `gcc` subdir
> 3. created at the same level a `gcc_build` dir
> 4. installed texinfo, dejagnu, bison, flex and gawk
> 5. in bash:
>
> ./gcc/contrib/download_prerequisites
> mkdir gcc_build
> cd gcc_build
> ../gcc/configure --program-suffix -9.2.0
> make
>
> I have Lubuntu 18.04.3 as guest on a Windows 7 host, machine HP
> ProBook 650 G2 (not my laptop...)
>
> PS: `configure` gave me also this warning:
>
> > *** This configuration is not supported in the following subdirectories:
> >
> > gnattools gotools target-libada target-libhsail-rt target-libphobos target-
> > zlib target-libgo target-libffi target-liboffloadmic
> >
> > (Any other directories should still work fine.)
> I'm concerned about zlib and libffi. Does this warning means gcc can't
> support zip and libffi?
Target zlib is only necessary for libphobos (which is then used by D runtime)
and target libffi is only necessary for Go runtime. D and Go are not enabled by
default.
> Thank you in advance.
--
Xi Ruoyao <xry111@mengyan1223.wang>
School of Aerospace Science and Technology, Xidian University