By giving -nostartfiles to ld we get the output file as startfiles instead of
a.out as in the example below. 

./ld-new -o a.out -nostartfiles ~/tmp/foo.o


[EMAIL PROTECTED]:~/work/fsf/fsfextsrc/build/ld$ ./ld-new --version
GNU ld version 2.16.91 20050912
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

-- 
           Summary: ld -nostartfiles does not give an error.
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: ramana dot radhakrishnan at codito dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: i686-linux-gnu
  GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to