Gast
#481236
Hallo, ich habe ein Problem beim compilern unter Ubuntu-Linux. Mein gcc compiler findet meine #includes nicht aus dem c-sourcecode. Kann mir jemand helfen? MfG Gregor M. (Münster)
|
Anzeige
|
gcc compiler
Gast
#481236
Hallo, ich habe ein Problem beim compilern unter Ubuntu-Linux. Mein gcc compiler findet meine #includes nicht aus dem c-sourcecode. Kann mir jemand helfen? MfG Gregor M. (Münster)
Gast
#481419
Hast du die Includes mit <...> oder "..." angegeben?
Gast
#481472
Welche Pfade zu den Includedateien werden benutzt? Verwende mal die -v Option -v Print (on standard error output) the commands executed to run the stages of compilation. Also print the version number of the compiler driver program and of the preprocessor and the compiler proper. Shell> gcc -v hello_world.c -o hello_world Was erscheint als Ausgabe? Stimmt das Environment? http://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html#Environment- Variables
Gast
#481615
Bei Ubuntu wird mit der Standardinstallation die libc6-dev nicht mit installiert. GNU C Library: Development Libraries and Header Files Contains the symlinks, headers, and object files needed to compile and link programs which use the standard C library. Dann sollte GCC die Includes mit <....> finden. Antwort schreiben |
Anzeige
|