build my project error with dmd.2.052
Jonathan M Davis
jmdavisProg at gmx.com
Tue Feb 22 02:19:14 PST 2011
On Tuesday 22 February 2011 02:10:28 zsxxsz wrote:
> dmd -oftest adl/*.d main/*.d import/acl/*.d ./lib/lib_acl.a
> /usr/bin/ld: unrecognized option '--no-warn-search-mismatch'
> /usr/bin/ld: use the --help option for usage information
>
> my ld: GNU ld version 2.17.50.0.6-6.el5 20061020
Please don't post directly to the bug list. You sign up for it so that you get
all of the updates to bugs on bugzilla. Normally, you'd post to D.learn (for
questions about D) or D (for discussing the language). In this case, either
posting to the thread which announced the release od 2.052 in D.announce or
posting in D would probably be the best choice.
In any case, my guess is that you have an old version of binutils. You're going
to have to either update your linux insteall or edit your dmd.conf so that it
doesn't use --no-warn-search-mismatch (though that means that you're likely to
get warnings about library version mismatches for Phobos; the flag is there
because both the 32-bit and 64-bit versions of Phobos are ld's search path, and
it's annoying for it to complain about the one which you aren't using just
because it's for the wrong architecture).
- Jonathan M Davis
More information about the Digitalmars-d-bugs
mailing list