That fixed it! Thanks!
On Friday, 6 December 2013 at 19:09:26 UTC, Dicebot wrote:
On Friday, 6 December 2013 at 19:04:08 UTC, Nikhil Padmanabhan
wrote:
Hi,
I've been trying to build phobos on a linux system, and it's
failing during the link step :
/usr/bin/ld: unrecognized option '--no-warn-search-mismatch'
Poking at this a little, I see that I'm running a relatively
old version of ld :
[np274@login-0-0 phobos]$ ld --version
GNU ld version 2.17.50.0.6-20.el5_8.3 20061020
and this flag wasn't available then.
https://sourceware.org/binutils/docs-2.17/ld/Options.html#Options
Unfortunately, I can't upgrade this and was wondering if there
was a way to change the linker flags that dmd sends to ld..
Thanks in advance!
-- Nikhil
I think this flags is set in /etc/dmd.conf (or whenever
dmd.conf is located on your system). At least mine has
"-L--no-warn-search-mismatch" there.