[Mono-dev] Fwd: mono 2.0, solaris x86, bootstrap

Andreas Färber andreas.faerber at web.de
Sun Oct 12 15:03:28 EDT 2008


> Here's my Solaris 10 build environment:
>
> PATH=/usr/local/bin:/opt/gdb/bin:/opt/mono/bin:/opt/sfw/bin:/opt/sfw/ 
> sbin:/usr/sfw/bin:/usr/bin:/usr/dt/bin:/usr/openwin/bin
> export PATH
> export MAKE=gmake
> export AR=gar
> export STRIP=gstrip
> export RANLIB=granlib
> export AS=gas

Note: /opt/gdb is a self-compiled amd64 GDB - not needed for  
bootstrapping.
Some GNU packages from the Companion CD are used here, Subversion  
comes from sunfreeware.com.

> x86:
>
> GC_PREFIX=/opt/mono-gc7.0
> ../gc-7.0/configure --prefix=$GC_PREFIX CC=gcc MAKE=gmake AR=gar  
> RANLIB=granlib STRIP=gstrip AS=gas INSTALL=/usr/ucb/install
>
> ../mono/configure --prefix=/opt/mono --with-tls=pthread --with- 
> sigaltstack=no --with-gc=boehm --enable-dtrace \
> CC=gcc MAKE=gmake AR=gar RANLIB=granlib STRIP=gstrip AS=gas INSTALL=/ 
> usr/ucb/install \
> CPPFLAGS=-I/opt/mono-gc7.0/include LDFLAGS=-L/opt/mono-gc7.0/lib
>
> amd64:
>
> export LD_LIBRARY_PATH=/usr/sfw/lib/amd64:$LD_LIBRARY_PATH
> GC_PREFIX=/opt/mono-gc7.0
> ../gc-7.0/configure --prefix=$GC_PREFIX --libdir=$GC_PREFIX/lib/ 
> amd64 CC=gcc CFLAGS=-m64 MAKE=gmake AR=gar RANLIB=granlib  
> STRIP=gstrip CCAS=gas CCASFLAGS=-64 INSTALL=/usr/ucb/install
>
> export LD_LIBRARY_PATH=/usr/sfw/lib/amd64:$LD_LIBRARY_PATH
> MONO_PREFIX=/opt/mono
> ../mono/configure --prefix=$MONO_PREFIX --bindir=$MONO_PREFIX/bin/ 
> amd64 --libdir=$MONO_PREFIX/lib/amd64 --with-tls=pthread --with- 
> sigaltstack=no --with-gc=boehm --disable-mcs-build CC="gcc -m64"  
> MAKE=gmake AR=gar RANLIB=granlib STRIP=gstrip AS="gas -64" INSTALL=/ 
> usr/ucb/install CPPFLAGS=-I/opt/mono-gc7.0/include LDFLAGS=-L/opt/ 
> mono-gc7.0/lib/amd64 PKG_CONFIG_PATH=/usr/lib/amd64/pkgconfig:/opt/ 
> mono-gc7.0/lib/amd64/pkgconfig
>
> Just quickly grabbed my scripts, didn't try HEAD, but it was likely  
> something in the 1.9 range.

... more precisely, it was what my DTrace patch was tested on.

HTH,
Andreas


More information about the Mono-devel-list mailing list