This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
ld command line error messages are misleading
- From: Fahim Shafi <fshafi at equator dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 25 Sep 2002 08:45:37 -0700
- Subject: ld command line error messages are misleading
- Organization: Equator Technologies, Inc.
% ld --version
GNU ld 2.11.90.0.8
Copyright 2001 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.
Supported emulations:
elf_i386
i386linux
elf_i386_glibc21
####### WRONG ERROR MESSAGES
% ld -v -Wl,crap
GNU ld version 2.11.90.0.8 (with BFD 2.11.90.0.8)
ld: unrecognized option '-v'
ld: use the --help option for usage information
% ld -Wl,crap
ld: unrecognized option 'ld'
ld: use the --help option for usage information
% ld -Wcrap
ld: unrecognized option 'ld'
ld: use the --help option for usage information