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
I followed the readme for building Femto-Emacs on current macOS. It fails with the following errors:
cc -O2 -DNDEBUG -falign-functions -Wall -Wno-strict-aliasing -Illt -DUSE_COMPUTED_GOTO -DMACOSX -DARCH_X86_64 -DBITS64 -D__CPU__=686 -I"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/Developer/Headers" flisp.o builtins.o string.o equalhash.o table.o iostream.o flmain.o
-o flisp llt/libllt.a -lm -framework ApplicationServices libflisp.a
ld: warning: ld: warning: ignoring file libflisp.a, file was built for archive which is not the architecture being linked (x86_64): libflisp.aignoring file llt/libllt.a, file was built for archive which is not the architecture being linked (x86_64): llt/libllt.a
Undefined symbols for architecture x86_64:
"_D_NINF", referenced from:
_isnumtok_base in flisp.o
"_D_NNAN", referenced from:
_isnumtok_base in flisp.o
"_D_PINF", referenced from:
_isnumtok_base in flisp.o
....
So it appears that the linker command is not correct. Also, the SDK header path does not seem to be used (and carbon is no longer available on 64 bit platforms). I was able to compile without the above SDK header path.
The text was updated successfully, but these errors were encountered:
I followed the readme for building Femto-Emacs on current macOS. It fails with the following errors:
cc -O2 -DNDEBUG -falign-functions -Wall -Wno-strict-aliasing -Illt -DUSE_COMPUTED_GOTO -DMACOSX -DARCH_X86_64 -DBITS64 -D__CPU__=686 -I"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/Developer/Headers" flisp.o builtins.o string.o equalhash.o table.o iostream.o flmain.o
-o flisp llt/libllt.a -lm -framework ApplicationServices libflisp.a
ld: warning: ld: warning: ignoring file libflisp.a, file was built for archive which is not the architecture being linked (x86_64): libflisp.aignoring file llt/libllt.a, file was built for archive which is not the architecture being linked (x86_64): llt/libllt.a
Undefined symbols for architecture x86_64:
"_D_NINF", referenced from:
_isnumtok_base in flisp.o
"_D_NNAN", referenced from:
_isnumtok_base in flisp.o
"_D_PINF", referenced from:
_isnumtok_base in flisp.o
....
So it appears that the linker command is not correct. Also, the SDK header path does not seem to be used (and carbon is no longer available on 64 bit platforms). I was able to compile without the above SDK header path.
The text was updated successfully, but these errors were encountered: