GCC als Cross-Compiler

Aiju hat gesagt.:
Doch die liegen dort, ich habe ja auch schon andere Programme kompiliert. Doch der Compiler scheint sich auch selbst zu kompilieren.

Mhm.

Hast du die Variablen im Skript angepasst?

Get this shell-Script, adjust at least BUILD_ROOT and PREFIX at the top of the script to match your setup. If you wish to build other compilers than gcc and g++ like e.g. g77 or gnat you'll search for the lang_* settings a bit further down in the script and adjust them to your needs. Now save and run the script. You now may go and get some coffee, tea or whatever you prefer because this will take some time.

Gruß

RedWing
 
Das Skript habe ich ja nicht genommen.
Ich habe jetzt mal ein Verzeichnis /mingw/mingw32/include erstellt und dort alle Includes reinge-symlink-t (mit cp -s)
Jetzt kommen die Meldungen:
Code:
/tmp/ccAb1EsN.s: Assembler messages:
/tmp/ccAb1EsN.s:5: Error: unknown pseudo-op: `.def'
/tmp/ccAb1EsN.s:5: Error: unknown pseudo-op: `.scl'
/tmp/ccAb1EsN.s:5: Error: unrecognized symbol type ""
/tmp/ccAb1EsN.s:5: Error: junk at end of line, first unrecognized character is `3'
/tmp/ccAb1EsN.s:5: Error: unknown pseudo-op: `.endef'
/tmp/ccAb1EsN.s:11: Error: unknown pseudo-op: `.def'
/tmp/ccAb1EsN.s:11: Error: unknown pseudo-op: `.scl'
/tmp/ccAb1EsN.s:11: Error: unrecognized symbol type ""
/tmp/ccAb1EsN.s:11: Error: junk at end of line, first unrecognized character is `3'
/tmp/ccAb1EsN.s:11: Error: unknown pseudo-op: `.endef'
 
btw.
Doch der Compiler scheint sich auch selbst zu kompilieren.

das kann ich mir nicht vorstellen. Ansonsten hättest du dann ein Compiler der
auf ner Windows Plattform läuft...
Es kann aber gut sein das die eignen Header verwendet werden.

Gruß

RedWing
 
Ich habe die Binutils für win schon vorher installiert.
EDIT: Noch mal von vorn:
build-Dir geleert. configure mit den Optionen
--target=mingw32 --build=i586-pc-linux-gnu --host=i586-pc-linux-gnu
gestartet. make ohne Optionen.
 
Zuletzt bearbeitet:
Zurück