You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./build
gcc -O -I./include -DATOMIC_UNCOLLECTABLE -DNO_SIGNALS -DNO_EXECUTE_PERMISSION -DSILENT -DALL_INTERIOR_POINTERS -DLARGE_CONFIG -DUSE_MMAP -DDONT_ADD_BYTE_AT_END -o if_mach ./if_mach.c
In file included from ./if_mach.c:3:
./include/private/gcconfig.h:477: error: expected identifier or ‘(’ before ‘--’ token
./if_mach.c: In function ‘main’:
./if_mach.c:14: error: ‘MACH_TYPE’ undeclared (first use in this function)
./if_mach.c:14: error: (Each undeclared identifier is reported only once
./if_mach.c:14: error: for each function it appears in.)
make: *** [if_mach] Error 1
cp: gc6.8/gc.a: No such file or directory
ranlib: can't open file: include/libgc.a (No such file or directory)
Cannot (yet) run Stalin on this architecture
What can I do?
The text was updated successfully, but these errors were encountered:
Although I don't have a Mac to test on, it looks like this is due to the Boehm garbage collector definitions. You might be able to find some other program that uses -lgc and figure out what case is missing here in the include file to define things right for OSX. Assuming you have it installed?
./build
gcc -O -I./include -DATOMIC_UNCOLLECTABLE -DNO_SIGNALS -DNO_EXECUTE_PERMISSION -DSILENT -DALL_INTERIOR_POINTERS -DLARGE_CONFIG -DUSE_MMAP -DDONT_ADD_BYTE_AT_END -o if_mach ./if_mach.c
In file included from ./if_mach.c:3:
./include/private/gcconfig.h:477: error: expected identifier or ‘(’ before ‘--’ token
./if_mach.c: In function ‘main’:
./if_mach.c:14: error: ‘MACH_TYPE’ undeclared (first use in this function)
./if_mach.c:14: error: (Each undeclared identifier is reported only once
./if_mach.c:14: error: for each function it appears in.)
make: *** [if_mach] Error 1
cp: gc6.8/gc.a: No such file or directory
ranlib: can't open file: include/libgc.a (No such file or directory)
Cannot (yet) run Stalin on this architecture
What can I do?
The text was updated successfully, but these errors were encountered: