Frank Heckenbach wrote:
Waldek Hebisch wrote:
I have build a cross-compiler targetting Mac OSX. However, I do not have the complete toolchain (only bare compiler). Without full toolchain I can not compile RTS (the problem really is configure) and also I can not compile anything using GPC module.
BTW, if Adriaan sends you his <build>/gcc/p/rts/config.cache file, configure might be able to use the cached data and let you build. I once did test compiles this way for a system I had no complete toolchain for (though with earlier gcc versions, but the RTS configure/build should be relatively independent of gcc versions).
I will be pleased to send the config.cache file or anything else needed. As far as I know, the odcctools toolchain http://www.opendarwin.org/projects/odcctools/ can be built cross to Darwin on Linux.
You'll need system headers as well, though (and libraries if you want to link, of course), and I don't know if Mac OSX's are freely distributable.
Yes, Darwin http://opendarwin.org/, the Mac OS X kernel http://darwinsource.opendarwin.org/, is licensed under the Apple Open Source License version 2.0 http://www.opensource.apple.com/apsl/, which qualifies as both a free http://www.gnu.org/philosophy/apsl.html and open http://www.opensource.org/licenses/apsl-2.0.php license.
The Mac OS X (non-Darwin) GUI libraries are not free but the GPC testsuite doesn't use them (and even if they were needed, I could send stub libraries).
Regards,
Adriaan van Os