Re: [swarm-hackers] MacOS X Intel nested functions

2007-05-29 Thread Marcus G. Daniels
It is not acceptable as an option linking a dynamic library, because that uses Apple's libtool, which spits the dummy. Even if libtool did not barf, the option is meaningless in a library. The allow_stack_execute can only be set by the OS as part of launching a new process. Perhaps during s

MacOS X Intel nested functions

2007-05-29 Thread Bill Northcott
I think I have reached a dead end on this. See below: #bar.c void bar () { return; } #foo.c int main(int argc, void * argv) { bar(); return 0; } [MBP-OGN:Public/Swarm/libtest] billn% gcc -c -fnested-functions -o bar.o bar.c [MBP-OGN:Public/Swarm/libtest] billn% gcc -dynamiclib -fnested- fun