[Mono-list] Cross compiling mono 2.4 to PowerPC

Geoff Norton gnorton at novell.com
Wed Jun 24 09:10:40 EDT 2009


On 24-Jun-09, at 1:05 AM, Dushara Jayasinghe wrote:

>>> That would likely save you a lot of pain rather than configure
>> hacking.
>>>
>>>
>>
>> I remember I got compile time errors when I tried it last (it was
>> trying to build some libraries still). That's why I had to resort to
>> the configure hack. I'll check again to verify though.
>>
>
> These are the errors I was getting:
>
> ./configure --prefix=/usr --with-sigaltstack=no  --with-tls=__thread  
> --disable-mcs-build --host=ppc-linux
>
> Resulted in the following error:
> ...
> checking for working __thread... configure: error: cannot run test  
> program while cross compiling
>
> After configure.in was hacked, 'make' gave the following error:
>
> ...
> make[2]: Entering directory `/home/cis2/mono-2.4/docs'
> cd . && make -f docs.make topdir=../mcs convert.exe
> make[3]: Entering directory `/home/cis2/mono-2.4/docs'
> MCS     [net_2_0] convert.exe
> make[3]: *** [convert.exe] Error 1

You should update to the tip of the 2.4 branch or head which fixes  
this (among other) problem.

-g


More information about the Mono-list mailing list