On 1 April 2011 12:29, Rhythmic Fistman <rfist...@gmail.com> wrote: > 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
Nope, despite configure working, make build still produces an x86_64 rtl. This is what happened with the i386 build, but with that I could replace gcc/g++ because the resulting binaries run on x86_64. I think --target-cc/cxx may be broken. ------------------------------------------------------------------------------ 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