Re: Release 2.3.2 - Finally
Posted by Atri Bhattacharya on Oct 13, 2015; 5:00pm
URL: https://forum.jogamp.org/Release-2-3-2-Finally-tp4035446p4035461.html
On my system, ld has the short-form options -s, -t and -a. The '-a' option takes a keyword immediately following it. From the man entry:
"-a KEYWORD Shared library control for HP/UX compatibility"
As a result, ld -static-libstdc++ is read as being equivalent to:
ld -s -t -a tic-libstdc++
so that "tic-libstdc++" is interpreted as the keyword, which is obviously undefined.
I think this is a very generic behaviour for ld, and not something particular to my system. Fwiw, I tested on a couple of other Linux systems too with similar results [same version of ld used: GNU ld (GNU Binutils; openSUSE 13.2) 2.24.0.20140403-6.1].
Anyway, my point is that ld does not have a -static-libstdc++ option in the first place, so this should be probably removed either way.
Thanks.