[Vm-dev] VM Maker gcc options
David Graham
dgraham at unthinkable.org
Sat Mar 26 05:37:24 UTC 2011
>
>> Also, the really strange thing is that the options are different in the link.txt file ("-lm -ldl -lpthread" vs . "-lSM -lICE -ldl -lGL -lm -lnsl -lX11" in CUnixConfig). Using the search method you guys gave me, I can't find any other references to -ldl in my hierarchy.
>>
Found it!
CUnixConfig>>setExtraTargetProperties:
maker addExternalLibraries:
#(
'm' "math lib"
'dl' "dynamic loader"
'pthread' "posix threads"
).
I didn't catch this the first time through and it didn't turn up in the code search without the "-l", but it clicked when I saw the option pattern while following code. I overrode the method in my class and the FreeBSD build now completes.
If I understand the hudson process correctly, this package needs to get added to the VMMaker repo on squeaksource before the automated build will work? I placed a fileout on my server:
www.unthinkable.org/dl/CMakeVMMaker-FreeBSD-Cog.st
There are a number of things I need to work on with the FreeBSD port, but I'm just happy that I was able to get it working at this point. :)
More information about the Vm-dev
mailing list