Compilieren unter Mac OS X Snow Leopard
-
Ok, ich hab mal alle ports gesucht, welchen soll ich nehmen?
apple-gcc33 @1823 (lang)
Apple's version of gcc 3.3apple-gcc40 @5465 (lang)
Apple's version of gcc 4.0apple-gcc42 @5531 (lang)
Apple's version of gcc 4.2apple-gcc42-devel @5564 (lang)
Updated version of Apple's version of gcc 4.2arm-aout-gcc @3.3.6 (cross, devel)
gcc cross-compilers for arm-aout, with newlib runtime library.arm-elf-gcc @4.3.2 (cross, devel)
gcc cross-compilers for arm-elf, with newlib runtime library.arm-elf-gcc3 @3.4.6 (cross, devel)
gcc 3.x cross-compilers for arm-elf, with newlib runtime library.arm-none-linux-gnueabi-gcc @2005q3-2 (cross, devel)
gcc 3.x cross-compilers for arm-none-linux-gnueabi.arm-rtems-gcc @4.2.3 (cross, devel)
gcc cross-compilers for arm-rtems, with newlib runtime library.avr-gcc @4.0.2 (cross, devel)
gcc cross-compilers for avrgcc33 @3.3.6 (lang)
The GNU compiler collectiongcc34 @3.4.6 (lang)
The GNU compiler collectiongcc40 @4.0.4 (lang)
The GNU compiler collectiongcc41 @4.1.2 (lang)
The GNU compiler collectiongcc42 @4.2.4 (lang)
The GNU compiler collectiongcc43 @4.3.4 (lang)
The GNU compiler collectiongcc44 @4.4.2 (lang)
The GNU compiler collectiongcc45 @4.5-20091217 (lang)
The GNU compiler collection, prerelease BETAgcc_select @0.1 (sysutils)
Switch the default compilergccmakedep @1.0.2 (x11, devel)
Create dependencies in makefiles using 'gcc -M'gccxml @0.6.0 (lang)
generates XML description of C++ codegccxml-devel @20090713 (lang)
generates XML description of C++ codegnat-gcc @4.4.2 (lang)
The GNU compiler collection with GNATi386-elf-gcc @4.3.2 (cross, devel)
gcc cross-compilers for i386-elf, with newlib runtime library.i386-mingw32-gcc @3.4.5-20060117-2 (cross, devel)
Mingw32 cross-compiler for i386-Win32i386-rtems-gcc @4.2.3 (cross, devel)
gcc cross-compilers for i386-rtems, with newlib runtime library.i960-rtems-gcc @3.2.3 (cross, devel)
gcc cross-compilers for i960-rtems, with newlib runtime library.lcov @1.7 (devel)
LCOV is a graphical front-end for GCC's coverage testing tool gcov.llvm-gcc42 @2.6 (lang)
llvm is a next generation compiler infrastructurem68k-elf-gcc @3.4.6 (cross, devel)
gcc cross-compilers for m68k-elf, with newlib runtime library.m68k-rtems-gcc @4.2.3 (cross, devel)
gcc cross-compilers for m68k-rtems, with newlib runtime library.mips-elf-gcc @3.4.6 (cross, devel)
gcc cross-compilers for mips-elf, with newlib runtime library.mips-rtems-gcc @4.2.3 (cross, devel)
gcc cross-compilers for mips-rtems, with newlib runtime library.mipsel-linux-gcc34 @3.4.6 (cross)
gcc cross compiler for mips-linux with uClibpowerpc-rtems-gcc @4.2.3 (cross, devel)
gcc cross-compilers for powerpc-rtems, with newlib runtime library.py26-pygccxml @1.0.0 (python, devel)
pygccxml is a python interface to gcc-xmlsh-rtems-gcc @4.2.3 (cross, devel)
gcc cross-compilers for sh-rtems, with newlib runtime library.sparc-rtems-gcc @4.2.3 (cross, devel)
gcc cross-compilers for sparc-rtems, with newlib runtime library.
-
Entweder gcc44 oder i386-elf-gcc – allerdings fehlen dann noch die binutils, also ld.
-
XanClic schrieb:
Entweder gcc44 oder i386-elf-gcc – allerdings fehlen dann noch die binutils, also ld.
Unter Windows verwende ich (logischerweise) auch einen Crosscompiler, der afair auch "i386-elf-gcc" heißt. Da ist ld aber mit dabei, vielleicht hier ja auch?
-
Ausschließen will ich es nicht, aber dann hätte das Paket einen irreführenden Namen – weil ld nunmal zu den binutils und nicht zu gcc gehört.
-
gcc ohne ld macht doch keinen Sinn?
-
ld gehört aber nicht zur GCC (also zur GNU Compiler Collection), sondern zu besagten GNU binutils. Es ist halt einfach so.
(Wenn man also die Quellcodepakete einzeln runterlädt und kompiliert, hat man nach Kompilieren von GCC halt nur den Compiler und muss dann noch die binutils kompilieren, um den etwas sinnvolles tun zu lassen)
-
ENDLICH! ICH HABE ES GESCHAFFT!
Ich kann jetzt mit meinem Mac PrettyOS compilieren! Vielen Dank an alle, die mir geholfen haben.
(Sollte jemand eine Anleitung benötigen, so ist dies bitte hier zu melden!)
-
Sehr gut! Wir wollen niemanden verlieren.
-
Cuervo schrieb:
(Sollte jemand eine Anleitung benötigen, so ist dies bitte hier zu melden!)
Es wäre allgemein nicht schlecht wenn du zumindest grob beschreiben würdest was du gemacht hast. Dann hätte man etwas was man Mac Usern sagen kann, oder man könnte einen Hinweis ins Tutorial für die ersten Schritte unter Mac OS einbauen.
-
Super, dann hab ich hier was vorbereitet:
-
Danke für den Beitrag!