bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/14852] gnu ld can't use a library linked via solaris ld, if that


From: pashev.igor at gmail dot com
Subject: [Bug ld/14852] gnu ld can't use a library linked via solaris ld, if that library uses a library linked with GNU ld
Date: Fri, 16 Nov 2012 10:12:18 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=14852

--- Comment #1 from Igor Pashev <pashev.igor at gmail dot com> 2012-11-16 
10:12:18 UTC ---
# cat /usr/bin/ld-gnu-to-sun 
#!/bin/sh

set -e
set -u

cmd=/usr/bin/sunld

while [ $# -ne 0 ]; do
    case "$1" in
        # GCC with GNU ld passes -m <emulation>,
        # Sun ld does not need it, and -m options has different meaning:
        -m) shift || true;;

        # Ignore long options, Sun ld does not support long options at all:
        --*) ;;

        *) cmd="$cmd $1" ;;
    esac
    shift || true
done

# Trace:
set -x
exec $cmd

exit 0

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]