Boost logo

Boost :

From: Tomas Puverle (Tomas.Puverle_at_[hidden])
Date: 2006-07-03 11:01:22


> > > For 32bit compilation, consider this:
> > >
> > > g++ -mcpu=v8 -mtune=ultrasparc3 <file>
> > >
> > > For 64bit compilation, try this
> > >
> > > g++ -mcpu=v9 -mtune=ultrasparc3 -m64 <file>

<snip>

Re-reading the g++ docs, it seems that compiling with v9 in 32-bit mode
implies v8+. So a small change to my original compile line:

32-bit build:
> g++ -mcpu=v9 -mtune=ultrasparc3 foo.C

> file a.out
a.out: ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ Required,
dynamically linked, not stripped

64-bit build:
> g++ -mcpu=v9 -mtune=ultrasparc3 -m64 foo.C
> file a.out
a.out: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically
linked, not stripped

Tom


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk