1 Aug 2003 18:34
[OpenPKG #221] gv build fails on Solaris
matt <at> cis.ksu.edu via RT <openpkg-rt <at> openpkg.org>
2003-08-01 16:34:24 GMT
2003-08-01 16:34:24 GMT
Request 221 was acted upon.
_________________________________________________________________________
URL: https://rt.openpkg.org/id/221
Ticket: [OpenPKG #221]
Subject: gv build fails on Solaris
Requestors: matt <at> cis.ksu.edu
Queue: openpkg
Owner: Nobody
Status: new
Transaction: Ticket created by matt <at> cis.ksu.edu
Time: Fri Aug 01 18:34:22 2003
_________________________________________________________________________
Sun's "xmkmf" tool assumes that the proprietary Sun linker is being used, so it generates Makefile's with
many proprietary switches (in particular, it liberally uses the "-Xc" option, which GNU binutils don't understand).
Unfortunately, the Sun "xmkmf" also ignores environment variables like "HasGcc" that other platforms
use to tune link flags.
There are a couple of ways around this that come to mind:
(1) manually editing the generated Makefiles to get rid of the offending linker switches. e.g.,
...
# generate Makefiles and build gv
xmkmf -a
case "%{l_target}" in
*solaris* )
for mkfile in `find . -name Makefile` ; do
(Continue reading)
RSS Feed