![]() |
|
Cross-Compiling für Mac unter Linux / Projekthilfe gesucht - Druckversion +- Deutsches Simutransforum (https://simutrans-forum.de/mybb) +-- Forum: Computer und Co. (https://simutrans-forum.de/mybb/forumdisplay.php?fid=51) +--- Forum: Computer (https://simutrans-forum.de/mybb/forumdisplay.php?fid=52) +--- Thema: Cross-Compiling für Mac unter Linux / Projekthilfe gesucht (/showthread.php?tid=3124) |
- wernieman - 08-10-2008 Isch nicht haben Mac ..... Kriegt man denn den gcc von Apple, auch wenn man keinen Apple hat??? Das war bisher u.a. mein Problem ;o) - trucidare - 08-10-2008 klar bekommst du auch so such mal nach opensource und apple bei google müsste glaub ich http://opensource.apple.com sein dann get source und dann suchste da gcc mit der versionsnummer raus - wernieman - 08-10-2008 opensource.apple.com ist es nicht .. das hat apple aufgegeben. Den GCC giebt es nur mit einem "Develop?" Kit, welches man aber auf dem Apple "entpacken" müste. Da ich keinen habe .... Könntest Du mir sonst Deines zur Verfügung .... ;o) - trucidare - 08-10-2008 ach du nase... apple nutzt sichere webserver also www http://www.opensource.apple.com/darwinsource/tarballs/other/gcc-5465.tar.gz mfg - wernieman - 08-10-2008 Wie hast Du denn das gefunden .... - trucidare - 08-10-2008 Apple ist verpflichtet open source parts zu veröffentlichen. komplett darwin ist opensource somit auch gcc und der andere krams. die sachen die untre gpl stehen kann man sogar ohne registrierung laden. bin ja nicht nur mac programmierer iphone auch und das is nochn happen mehr was man da runterladen muss. - wernieman - 08-10-2008 Nur hatte ich auf dem Server auch schon gesucht aber eben nicht gefunden ..... s.o. werde es mir eventuell nächste Woche ansehen ... - wernieman - 08-10-2008 Also ... etwas Schwieriger ist es doch .... Laut Anleitung der TTD (Hatte prissi den Link nicht schon mal gepostet?) http://devs.openttd.org/~truebrain/compile-farm/apple-darwin9.txt Code: Mac OS X SDK
------------
Next step, is getting some required files installed. You need the 10.4u SDK.
Get it from your Mac, or what ever, and put them in /usr/$TARGET.
It should include 'System/Framework', 'Library', 'usr', and more of that.
If you didn't do it correct, you will notice soon enough in the next step.Jetzt muß ich mir erstmal das SDK besorgen .... Edit: Und da währe noch Code: Other libs
----------
If you need libraries like libpng or libz, please start up your Mac OS X, and
just copy them from there. Make sure that you use the right versions, and if
possible universal build versions (those with multiple versions in them). It
is almost impossible to compile such libraries yourself on your
cross-compiler, and I would advise against it. Copying from a real Mac OS X
is much easier, and shows much better results. But that is just my advise ;)- wernieman - 13-10-2008 Wenn jemand zeit hätte .... Auf meinem Server liegt ein Cross-Compiled "Hello World" Programm http://www.wernieman.de/hello_world Es ist für Apple mit INTEL-Prozessor. Könnte es jemand ausprobieren? Damit ich weiß, ob die Cross-Compiler-Umgebung primär funktioniert? Falls (Falls) taste ich mich an die Compilierung von Simutrans. Wenn das funzen sollte, kommt PowerPc ..... - Pennywise - 15-10-2008 Macintosh: Downloads pennywise$ ./hello_world.dms Hallo Welt Macintosh: Downloads pennywise$ |