[petsc-dev] Configure problem on Titan
Aron Ahmadia
aron at ahmadia.net
Wed Mar 11 23:32:06 CDT 2015
On Thu, Mar 12, 2015 at 12:11 AM, Jed Brown <jed at jedbrown.org> wrote:
> I'll repeat my question: where are you going to find -lstdc++ and/or
>
> -lgfortran so that you can link without guessing?
>
Huh, BG/P and /Q are outliers. All of the compiler scripts went through (I
believe) gcc to do the final link, which meant they properly brought in the
external libraries required by C++/Fortran. They also promised C ABI
compatibility between the XL compilers and GCC, which I guess is standard
these days.
zsh 10219 (git)-[master]-% gfortran -Wl,-v foo.f90
collect2 version 4.9.2
/usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.9
-weak_reference_mismatches non-weak -o a.out
-L/usr/local/Cellar/gcc/4.9.2/lib/gcc/x86_64-apple-darwin13.4.0/4.9.2
-L/usr/local/Cellar/gcc/4.9.2/lib/gcc/x86_64-apple-darwin13.4.0/4.9.2/../../..
-v /var/folders/cg/50bn68y53vq3vxsn5_xdn5080000gn/T//cccoE6Eb.o -lgfortran
-no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm
-lgcc_ext.10.5 -lgcc -lSystem
A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150312/051ef58a/attachment.html>
More information about the petsc-dev
mailing list