This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: make a configure test more portable


Cygwin is not completing the "linker read-only and
read-write section mixing" configure test. It aborts with:

conftest1.s: Assembler messages:
conftest1.s:1: Warning: rest of line ignored; first ignored
character is `"'

It seems that Cygwin's "as" doesn't like double-quotes
surrounding it's section names.  This in itself may or may
not be a bug, but it that is not what this particular
conftest is testing.  Regardless, from what I can gather
from the gas docs not having the quotes should be OK on all
targets.

So this simple change allows the gcc_cv_ld_ro_rw_mix
configure variable to be properly set on Cygwin.

Patch is against mainline.  Bootstrapped on i686-pc-cygwin.

Kelley Cook [no cvs write access]

Attachment: configure.in.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]