Re: [Mono-dev] Mono cross compile

2008-02-24 Thread WebMaster

Thanks everyone,
today I've tried to compile mono with your hints and after some tricks 
with configure (messages like cannot run tests while 
cross-compiling) I've succed.


Tim Cussins napsal(a):

Hi Webmaster

When cross-compiling for ARM, I ran into issues with missing symbols at 
link-time (GC_local_xxx). If you also get this for ppc, try configuring 
mono with --with-tls=pthread


Tim

Bill F wrote:
  

2008/2/18 WebMaster [EMAIL PROTECTED]:


 I'm trying to cross compile mono for powerpc, compiling runtime is ok, but
I was unable to compile msc and corresponding libraries. I've got sources
from svn via anonymous access. Can anyone give me some suggestions how to do
this? Thank for answers.
  

The procedure that I have been using is similar to the one on the Mono
ARM port page http://www.mono-project.com/Mono:ARM

On the Host, build as normal (not cross compile)
./configure
make install DESTDIR=`pwd`/tmptree

Copy the files from tmptree to your Target platform.

On the Target platform, build mono without mcs:
./configure --disable-mcs-build
make install

This will install over the top of the files you copied from the Host.

I can't get the mcs or gmcs to work on my Target, but I can run
assemblies compiled on the Host OK.  I have a bug open for this issue:
https://bugzilla.novell.com/show_bug.cgi?id=355025

Good luck,
Bill


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
  


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Mono cross compile

2008-02-18 Thread Tim Cussins
Hi Webmaster

When cross-compiling for ARM, I ran into issues with missing symbols at 
link-time (GC_local_xxx). If you also get this for ppc, try configuring 
mono with --with-tls=pthread

Tim

Bill F wrote:
 2008/2/18 WebMaster [EMAIL PROTECTED]:
  I'm trying to cross compile mono for powerpc, compiling runtime is ok, but
 I was unable to compile msc and corresponding libraries. I've got sources
 from svn via anonymous access. Can anyone give me some suggestions how to do
 this? Thank for answers.
 
 The procedure that I have been using is similar to the one on the Mono
 ARM port page http://www.mono-project.com/Mono:ARM
 
 On the Host, build as normal (not cross compile)
 ./configure
 make install DESTDIR=`pwd`/tmptree
 
 Copy the files from tmptree to your Target platform.
 
 On the Target platform, build mono without mcs:
 ./configure --disable-mcs-build
 make install
 
 This will install over the top of the files you copied from the Host.
 
 I can't get the mcs or gmcs to work on my Target, but I can run
 assemblies compiled on the Host OK.  I have a bug open for this issue:
 https://bugzilla.novell.com/show_bug.cgi?id=355025
 
 Good luck,
 Bill
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Mono cross compile

2008-02-17 Thread Bill F
2008/2/18 WebMaster [EMAIL PROTECTED]:
  I'm trying to cross compile mono for powerpc, compiling runtime is ok, but
 I was unable to compile msc and corresponding libraries. I've got sources
 from svn via anonymous access. Can anyone give me some suggestions how to do
 this? Thank for answers.

The procedure that I have been using is similar to the one on the Mono
ARM port page http://www.mono-project.com/Mono:ARM

On the Host, build as normal (not cross compile)
./configure
make install DESTDIR=`pwd`/tmptree

Copy the files from tmptree to your Target platform.

On the Target platform, build mono without mcs:
./configure --disable-mcs-build
make install

This will install over the top of the files you copied from the Host.

I can't get the mcs or gmcs to work on my Target, but I can run
assemblies compiled on the Host OK.  I have a bug open for this issue:
https://bugzilla.novell.com/show_bug.cgi?id=355025

Good luck,
Bill
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list