win32 binaries

Post Reply
Message
Author
guyIncognit0

win32 binaries

#1 Post by guyIncognit0 »

ist es eigendlich möglich mit gcc win32 binaries unter linux zu erstellen ?

tkortkamp
Posts: 143
Joined: 08. Apr 2001 22:56
Location: Bremen

Re: win32 binaries

#2 Post by tkortkamp »

Ja.

Ich habe meine Version mal auf http://aramius.bei.t-online.de/cross.zip hochgeladen.
Damit kannst du Windows programme unter Linux erstellen. SDL und OpenGL sind auch schon dabei.
cross.zip musst du in /usr/local entpacken und dann die Dateien:
http://aramius.bei.t-online.de/cross-make
http://aramius.bei.t-online.de/cross-configure
http://aramius.bei.t-online.de/cross-gcc
http://aramius.bei.t-online.de/cross-g++
nach /usr/bin kopieren.

Dann sollte das kompilieren einfach mit z.B. cross-gcc -o test test.c
oder wenn es ein ./configure gibt anstatt ./configure cross-configure eingeben (wichtig ist auch cross-make anstatt make).

c ya,
Tobias
Last edited by tkortkamp on 11. Jun 2002 20:41, edited 1 time in total.
dude i'm pretty damn sure you could script somebody back to life

Post Reply