[Mono-list] Cross compiling mono 2.4 to PowerPC

Dushara Jayasinghe DusharaJ at optiscan.com
Wed Jun 24 01:05:20 EDT 2009

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

So I had to hack Makefile.am to get rid of docs from the list of subdirectories.


More information about the Mono-list mailing list