Quote:
Originally Posted by Leffmann
Has anyone been able to build vasm, vlink, and vbcc? I can get the gcc toolchain to build with no errors on macOS, but when I use it to build vasm I get errors like these:
Code:
amiga-gcc/m68k-amigaos/sys-include/stdio.h:66:9: error: unknown type name '__FILE'
typedef __FILE FILE;
amiga-gcc/m68k-amigaos/sys-include/stdio.h:747:26: error: dereferencing pointer to incomplete type 'struct _reent'
return (__sgetc_r(_ptr, _stdin_r(_ptr)));
amiga-gcc/lib/gcc/m68k-amigaos/6.5.0b/../../../../m68k-amigaos/bin/ld: cannot find ncrt0.o: No such file or directory
|
I suggest using
-noixemul.
Plus you have to fix tfloat.h that
strtod is used instead of
strtold.
the attached
Makefile.68k can be used directly with
make -f Makefile.68k