Dear Luigi,
The best idea is to ask ROOT which compiler was used to compile it. So the
compilation commands would be something like:
`root-config --cxx` -c -o bla.o bla.cxx `root-config --cflags`
`root-config --ld` -o bla bla.o `root-config --glibs`
This should make your code'd build reasonably
Thanks so much!
Luigi Zanotti
---
Prof. Luigi Ernesto Zanotti
Physics Department "G. Occhialini"
University of Milano Bicocca
Piazza della Scienza 3. 20126 Milano Italy
Tel. +39 02 6448 2460
E-Mail: luigi.zano...@mib.infn.it
---
Il giorno 10 Feb 2014,
On 2/10/14 8:30 AM, Luigi Ernesto Zanotti wrote:
> Hello,
> On compiling with c++-4 a source containing (fink) root codes I get tis
> list of errors:
>
> #/sw/bin/c++-4 -o HST-Cd HST-Cd.cpp `root-config --glibs --cflags`
> c++-4: error: unrecognized command line option '-stdlib=libc++'
> c++-4: err