[Mono-list] How do you compile Mono on SPARC Solaris ?

George Kodinov gkodinov@openlinksw.co.uk
Wed, 24 Mar 2004 19:20:35 +0200


This is a multi-part message in MIME format.
--------------040609010108020605040705
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi.

I've been trying to compile Mono CVS on SPARC Solaris 8.
I've got the http://go-mono.com/mono-build.sh and run it.

It went up to :

gcc-3.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libgc/include 
-I/virtdev2/gkodinov/mono-0.31/script/install/include/glib-2.0 
-I/virtdev2/gkodinov/mono-0.31/script/install/lib/glib-2.0/include 
-D_REENTRANT 
-I/virtdev2/gkodinov/mono-0.31/script/install/include/glib-2.0 
-I/virtdev2/gkodinov/mono-0.31/script/install/lib/glib-2.0/include 
-I/virtdev2/gkodinov/mono-0.31/script/install/include 
-DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT 
-D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ 
-D_XOPEN_SOURCE_EXTENDED=1 -DNO_UNALIGNED_ACCESS -g -O2 
-fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes 
-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes 
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align 
-Wwrite-strings -Wno-char-subscripts -MT tramp-sparc.lo -MD -MP -MF 
.deps/tramp-sparc.Tpo -c tramp-sparc.c -o tramp-sparc.o >/dev/null 2>&1
mv -f .libs/tramp-sparc.lo tramp-sparc.lo
/bin/bash ../../libtool --mode=link gcc-3.0  -g -O2 -fno-strict-aliasing 
-g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations 
-Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs 
-Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings 
-Wno-char-subscripts  -L/virtdev2/gkodinov/mono-0.31/script/install/lib 
-o libmono.la -rpath /virtdev2/gkodinov/mono-0.31/script/install/lib 
-Wl,-version-script=./ldscript mini.lo trace.lo dominators.lo cfold.lo 
regalloc.lo inssel.lo helpers.lo liveness.lo ssa.lo driver.lo 
debug-mini.lo linear-scan.lo aot.lo graph.lo mini-sparc.lo 
exceptions-sparc.lo tramp-sparc.lo ../../mono/metadata/libmonoruntime.la 
../../mono/metadata/libmetadata.la ../../mono/io-layer/libwapi.la 
../../mono/utils/libmonoutils.la ../../libgc/libmonogc.la  -lrt  
-lsocket -lnsl -lxnet -lpthread -lm -lrt
rm -fr .libs/libmono.la .libs/libmono.* .libs/libmono.*
/usr/ccs/bin/ld -G -h libmono.so.0 -o .libs/libmono.so.0.0.0  mini.lo 
trace.lo dominators.lo cfold.lo regalloc.lo inssel.lo helpers.lo 
liveness.lo ssa.lo driver.lo debug-mini.lo linear-scan.lo aot.lo 
graph.lo mini-sparc.lo exceptions-sparc.lo tramp-sparc.lo -z allextract 
../../mono/metadata/.libs/libmonoruntime.al 
../../mono/metadata/.libs/libmetadata.al 
../../mono/io-layer/.libs/libwapi.al 
../../mono/utils/.libs/libmonoutils.al ../../libgc/.libs/libmonogc.al -z 
defaultextract  -L/virtdev2/gkodinov/mono-0.31/script/install/lib 
-lsocket -lnsl -lxnet -lpthread -lm -lrt -lc  -version-script=./ldscript
/usr/ccs/bin/ld: illegal option -- v
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] 
file(s)



Can somebody write a FAQ or something (or extend the compilation 
section) with building instructions for all the non-linux platforms ?
I can volunteer to experiment with the compilations steps on various 
platforms (I can even write some, but I don't know how much will they be 
approved by the relevant port maintainers ;-).

Best Regards,

-- 
George Kodinov               Email : gkodinov@openlinksw.co.uk
Developer                    Web   : http://www.openlinksw.com
OpenLink Software            Phone : +359 32 634 397
XML & E-Business Infrastructure Technology Providers


--------------040609010108020605040705
Content-Type: text/x-vcard; charset=utf8;
 name="gkodinov.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="gkodinov.vcf"

begin:vcard
fn:George Kodinov
n:Kodinov;George
org:OpenLink Software;Virtuoso
adr:;;8 Bulair Str.;Plovdiv;Plovdiv;4003;Bulgaria
email;internet:gkodinov@openlinksw.co.uk
title:Developer
tel;work:+359 32637475
tel;cell:+359 887 700566
x-mozilla-html:TRUE
url:http://www.openlinksw.com
version:2.1
end:vcard


--------------040609010108020605040705--