On 1 April 2011 12:14, john skaller <skal...@users.sourceforge.net> wrote: > > On 01/04/2011, at 1:29 PM, Erick Tryzelaar wrote: > >> On Thu, Mar 31, 2011 at 6:26 AM, Rhythmic Fistman <rfist...@gmail.com> wrote: >>> I'm trying to compile the felix RTL for the iphone, and although >>> configure recognises configure --target-cc=mygcc --target-cxx=myg++ >>> it doesn't seem to do anything and the RTL is built for the host >>> architecture. >>> >>> I can get a working rtl for the iphone simulator (i386, not x86_64) by >>> replacing gcc/g++: >>> >>> PATH=$XCOMPILERS:$PATH make configure build >>> >>> but that only works because the binaries created happen to run on x86_64. >>> >>> When compiling for armv6, configure fails right away: >>> >>> configuring build phase >>> checking gcc : failed >>> gcc failed to compile an exe >>> >>> >>> Should I be setting some other combination of host/build/target-cc/cxx >>> or is cross compiling broken? >> >> I think fbuild's iphone support atrophied a little bit. I'll see if I >> can get it up and running again. > > > Yeah, but the question is why didn't the --target-cxx thing work? > > Or is RF confused .. ? :) I've used this before and it worked.
I am confused, my cross compiler was in fact broken. It's fixed now, so I'll try again I'll try again. Here are my build steps rm .gitignore # makes git clean -fd work git clean -fd # there's no make clean, and heaps of hidden state python3 fbuild/fbuild-light configure --target-cc=xgcc --target-cxx=xg++ Now it gets a long way and fails at * iscr extracting : /Users/rfistman/armv6/felix/lpsrc/flx_maker.pak Interscript? I thought interscript and literate programming were dead. Despite this make build seems to be working. My breath, she is bated. > Note it is tricky: how can Felix stuff be *tested*? None of the regression > tests etc can be run on the host, they'd have to be run on the iPhone > emulator. Or not run. If something's not working but no-one notices, then that's ok. RF ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language