So, on one of the list I follow a fellow posted an entry like: "I'm using XCode and ZeroLink and linking against the math library using -lm, when ZeroLink is off the build works, but when ZeroLink is on I get linker errors. What should I do?"

Of course, I responded with the smart-ass answer "Shutoff ZeroLink", but as it turns out Apple distributed ZeroLink versions for most of the standard libraries. They end in "x". So the real answer to his question turned out to be use the linker option "-lmx" when using ZeroLink. In other words, the math library "libm" has a ZeroLink counter part "libmx".

Update: I found out the next day that the gentleman who made the post was actually using the ZeroLink friendly libraries, and was still getting errors. So, it turns out that my post didn't come off as smart-assed as it could have.

 

Add to My Yahoo!

Add to Google

Subscribe with Bloglines

Austin Gilbert/Male/26-30. Lives in United States/Oklahoma/Tulsa/Midtown, speaks English. Spends 40% of daytime online. Uses a Fast (128k-512k) connection. And likes computer science/photography.
This is my blogchalk: United States, Oklahoma, Tulsa, Midtown, English, Austin Gilbert, Male, 26-30, computer science, photography.

ZeroLink to standard libraries in XCode without errors.
2005/03/16