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.

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.


--
john skaller
skal...@users.sourceforge.net





------------------------------------------------------------------------------
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

Reply via email to