[Mono-list] io-layer naming issues on OSX.

Robert Jordan robertj at gmx.net
Sat Oct 14 11:41:48 EDT 2006

Andreas Färber wrote:
>> I'd rather limit any renaming to the specific platform that  
>> requires it.
>> In bug 77324 it's mentioned that we don't use a linker script on  
>> macosx;
>> that should be the first part to be fixed imho.
> Apart from not yet getting Mono to compile for any local experiments  
> whatsoever, I do know C but have no idea what a linker script is  
> supposed to be... Obviously some part of the existing auto* jungle  
> already leads to a linker being invoked. Sorry for my ignorance ...  
> so would that be an additional shell script or simply Makefile  
> changes or what? What does "we don't use a linker script on macosx"  
> mean in cleartext?

Linker script == script for the linker. Mono provides
a GNU ld script:


but no Mac OS X script, because Apple's ld doesn't support
scripts. It only support full lists of symbols (like MS LINK)
with the option '-exported_symbols_list <filename>'
or suppressing lists with '-unexported_symbols_list <filename>'.
The latter would be suitable to suppress the problematic
WAPI symbols. Am looking at this.

Regarding your Mono build problems: comment out the PKG_CHECK_MODULES
line from Mono's configure.in and rerun autogen.sh:

   ./autogen.sh --prefix=...


More information about the Mono-list mailing list