adtools / amigaos-cross-toolchain

AmigaOS cross compiler for Linux / MacOSX / Windows
184 stars 48 forks source link

m68k tool-chain cannot find C startup files on OSX #18

Closed Leffmann closed 8 years ago

Leffmann commented 8 years ago

The build completes without errors on OSX El Capitan 10.11.2, but any simple invocation of the compiler and collect/ld stops with m68k-amigaos/bin/ld: cannot open crt0.o: No such file or directory, the full error message is here.

The tool-chain was built with ./toolchain-m68k --prefix=/Users/zeroblue/Amiga/Tools/GCC/ build, and the version numbers for some of the prerequisites:

ncurses @6.0_0 (active) platform='darwin 15' archs='i386'
This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-thread-multi-2level
patch 2.5.8
bison (GNU Bison) 2.3

The gigantic debug log from the build is here.

Any idea what has gone wrong?

Leffmann commented 8 years ago

Rebuilding with ncurses 5.9 as 32-bit and specifying -noixemul fixed it.