Adriaan van Os wrote:
Waldek Hebisch wrote:
Correct way is to define ENABLE_EXECUTE_STACK in gcc-3.4.x/gcc/config/i386/darwin.h. The definition should be similar to definitions in gcc-3.4.x/gcc/config/sol2.h and gcc-3.4.x/gcc/config/netbsd.h
I now read that Apple has gone completely mad http://lists.apple.com/archives/Xcode-users/2005/Nov/msg00402.html. Bad news.
It is probably good time to get ENABLE_EXECUTE_STACK for i386-darwin into mainline FSF gcc (assuming it is not there -- I have not checked). Gcc is now in stage 1. Bad part of this is they want you run tests to check that there is no regressions and in stage 1 you may have problems bootstrapping the compiler. Also many tests are likely to fail, so one need to compare two runs. But there is also good part: they will not ask if it fixes a regression.