Hi All,
I am trying to compile SqueakNOS on Macos and have some issue. Apparently is due to dylib that do not staticaly link. Here the output:
cc -o ./release/SqueakNOS.obj ./release/sqNamedPrims.o ./release/ sqVirtualMachine.o ./release/ints.o ./release/nos.o ./release/ sqGlue.o ./release/sqMinimal.o ./release/sqPlatformSpecific.o ./ release/gnu-interp.o ./release/ADPCMCodecPlugin.lib ./release/ B2DPlugin.lib ./release/BitBltPlugin.lib ./release/ZipPlugin.lib ./ release/DSAPrims.lib ./release/SqueakFFIPrims.lib ./release/ FFTPlugin.lib ./release/FloatArrayPlugin.lib ./release/Klatt.lib ./ release/LargeIntegers.lib ./release/Matrix2x3Plugin.lib ./release/ SqueakNOSPlugin.lib ./release/StarSqueakPlugin.lib -static -nostdlib - lm -Xlinker -r ld_classic: ./release/sqNamedPrims.o incompatible, file contains unsupported type of section 15 (__IMPORT,__jump_table) in load command 0 (must specify "-dynamic" to be used) ld_classic: ./release/sqVirtualMachine.o incompatible, file contains unsupported type of section 13 (__IMPORT,__pointers) in load command 0 (must specify "-dynamic" to be used) ld_classic: ./release/ints.o incompatible, file contains unsupported type of section 14 (__IMPORT,__pointers) in load command 0 (must specify "-dynamic" to be used) ld_classic: ./release/nos.o incompatible, file contains unsupported type of section 15 (__IMPORT,__jump_table) in load command 0 (must specify "-dynamic" to be used) ld_classic: ./release/sqGlue.o incompatible, file contains unsupported type of section 16 (__IMPORT,__pointers) in load command 0 (must specify "-dynamic" to be used) ld_classic: ./release/sqMinimal.o incompatible, file contains unsupported type of section 14 (__IMPORT,__jump_table) in load command 0 (must specify "-dynamic" to be used) ld_classic: ./release/sqPlatformSpecific.o incompatible, file contains unsupported type of section 13 (__IMPORT,__jump_table) in load command 0 (must specify "-dynamic" to be used) ld_classic: ./release/gnu-interp.o incompatible, file contains unsupported type of section 16 (__IMPORT,__pointers) in load command 0 (must specify "-dynamic" to be used)
I have looked on the web and AFAIK there is no way to statically link dylib. I also did not found any corresponding lib via macport. Any solution ?
Thanks
btw. The presentation at ESUG was cool. Thanks :).
Mth
___________________________________________________________________________ Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface r�volutionnaire. http://fr.mail.yahoo.com
Mathieu Suen wrote:
Hi All,
I am trying to compile SqueakNOS on Macos and have some issue. Apparently is due to dylib that do not staticaly link. Here the output:
Hi Mathieu, I remember you from ESUG, trying to compile SqueakNOS on MacOSX. I've been trying to find an answer for you, and just found a worst problem...
We need to produce an ELF image, and I think MacOSX' ld can't produce ELF, it can only spit Mach-O. Apparently you will have to download and compile or install some gnu tools, like gnu ld. After this, it's quite probably that you'll also need to install gcc if the included cc is not gcc, and if the .o format cc produces is not ok for gnu ld.
I'll try to find out more tomorrow, asking some people at work. Get back to you with more info, if any.
richie
squeaknos@lists.squeakfoundation.org