On 1 April 2011 04:29, Erick Tryzelaar <erick.tryzel...@gmail.com> 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.

Oh great, there's support?

Only a little atrophied, it got through a screen or so of config before failing:

 python3 fbuild/fbuild-light configure --target-platform=iphone

configuring target phase
determining platform                    : {'bsd', 'darwin', 'posix', 'iphone'}
looking for program
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc: ok
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc
checking gcc                            : failed
gcc failed to compile an exe

Promising. How do you debug the config phase? I can't find any config.log file.

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

Reply via email to