Ich versuche GCC-5.3.0 auf einem PC mit Windows 10 mit MinGW-Software zu bauen. bekam ich diesen FehlerMinGW: Das Erstellen von GCC erfordert GMP 4.2+, MPFR 2.4.0+ und MPC 0.8.0+
configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC
0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations. Source code for these libraries can be found at
their respective hosting sites as well as at
ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
http://gcc.gnu.org/install/prerequisites.html for additional info. If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files. They may be located in separate packages.
Mein eingegeben wurde
[email protected] /d/gnu/gcc-5.3.0-build
$ ../gcc-5.3.0/configure --target arm-eabi --enable-win32-registry=My
ToolchainName --prefix /f/gnu/out/ --enable-languages=c,c++ --disable
-nls --disable-shared --with-newlib --with-headers=../newlib-2.4.0/ne
wlib/libc/include
Hinweis:/d/Pfad als meine D:/Antrieb
ich den Weg in die Umgebungsvariablen hinzugefügt haben
D:\MinGW\bin
Ich habe bereits libgmp 5.1.2, libmpfr installiert 3.1.2 und 1.0.2 libmpc von MinGW Installation Manager
ich die Führung von http://gnutoolchains.com/building/ folgte mein eigenes GNU Toolchains auf Windows ist
Die Fehlermeldung ist selbsterklärend: Sie Pfaden zu benötigten Bibliotheken zur Verfügung stellen müssen über '--with *' Option, wie '--with gmp =/d/Pfad/zu/gmp'. –
Danke. Ich habe bereits herausgefunden, dass ich nicht gmp.h Datei habe, so musste ich mein eigenes GMP – prouser135
Moveed mein Kommentar zu beantworten. –