Difference between revisions of "Talk:Cross compiling OSX on Linux"

From Free Pascal wiki
Jump to navigationJump to search
(Created page with "To do this stage:- <syntaxhighlight lang="bash"> cd ~/svn/odcctools bash extract.sh #this creates ~/svn/odcctools/odcctools. Fun, right? #if you do not run it in bash, it mig...")
 
(Update)
 
Line 25: Line 25:
  
 
--[[User:Dieselnutjob|dieselnutjob]] 10:48, 9 October 2014 (CEST)
 
--[[User:Dieselnutjob|dieselnutjob]] 10:48, 9 October 2014 (CEST)
 +
 +
:Please feel free to update the article. AFAIR it basically has not been updated since it was written so versions may be out of date etc. Thanks. --[[User:BigChimp|BigChimp]] 13:29, 13 October 2014 (CEST)

Latest revision as of 13:29, 13 October 2014

To do this stage:-

cd ~/svn/odcctools
bash extract.sh #this creates ~/svn/odcctools/odcctools. Fun, right?
#if you do not run it in bash, it might run in a c shell and complain
#about pushd not being there, not applying patches, and all kinds of nastiness.
cd ~/svn/odcctools/odcctools
#configure:
CC=gcc-4.4 ./configure --target=i386-darwin \
 --prefix=/opt/odcctools --with-sysroot=/opt/MacOSX10.5.sdk
#compile and install if succesful:
make && make install

You need to have the "autoconf" package installed otherwise the extract.sh will fail.

After that I get some complaining

warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body

hope it doesn't matter

--dieselnutjob 10:48, 9 October 2014 (CEST)

Please feel free to update the article. AFAIR it basically has not been updated since it was written so versions may be out of date etc. Thanks. --BigChimp 13:29, 13 October 2014 (CEST)