[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wrong compiler flag detection
From: |
Simon Josefsson |
Subject: |
Re: wrong compiler flag detection |
Date: |
Mon, 09 Feb 2009 14:45:37 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.90 (gnu/linux) |
address@hidden writes:
> ld: 0706-005 Cannot find or open file: diagnostics-show-option
> ld:fopen(): No such file or directory
> *** Error code 255
Hi! Thanks for the report.
Ouch. Libidn checks whether -fdiagnostics-show-option is supported by
the compiler before using it, but it seems this parameter has another
meaning for xlc compared to gcc. As a work around, you can build libidn
using 'make WARN_CFLAGS=' to avoid passing these extra flags to the
compiler.
I'm not sure how to fix this cleanly. Ideas welcome. I'll try to think
about it as well.
/Simon