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: error: unrecognized command line option '-stdlib=libc++'
> #
>
> Has anybody an idea of what is happening?
> Thanks in advance,
>              Luigi Zanotti
>
> --
>
> Prof. Luigi E. Zanotti
>
> Physics Department "G. Occhialini"
> University of Milano-Bicocca  & INFN
> Piazza della Scienza 3 - 20126 Milano Italy
>
> Tel. +39 02 6448 2413
> Cell.: +39 349 0997239
> e-mailluigi.zano...@mib.infn.it
>
>
>

I believe our gcc48 package doesn't have libc++ support, as indicated by 
the message.  My best recommendation for you at this point would be to 
build your sources using the Xcode clang compiler instead, if possible.

Manipulating the `root-config --glibs --cflags` output to get rid of the 
'-stdlib=libc++' might work, too, or you might wind up with undefined 
symbols or some other issue--mixing libc++ and libstdc++ (from Fink's 
c++-4) builds is problematic at best.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Android™ apps run on BlackBerry®10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to