Okay, I was able to link using '-flat_namespace -undefined suppress' linker flags.
Great! How did you figure this out?
Well, the default for MacOS X 10.1 and higher is the so called "two-level namespace" and -undefined error. - All symbols have to be present at link time. By using '-flat_namespace' and '-undefined suppress' (or '-undefined warning') you can avoid that.
I still do not know what this .constructors_used thing exactly is. I think I am going to ask someone at Apple. I took a look at the assembly code and .constructors_used looks like any other assembly directive, but i cannot find any documentation on it.
Shouldn't config.h automatically recognize my machine to be big endian?
Yes, it should. Here's patch to fix it:
[...]
But this is the line already included in config.h?!? I added 'defined(__ppc__)', now it works!
JG
