This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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] |
The attached patch is a bit ugly, but it does fix the problem. Better suggestions welcome!
Tested on powerpc-ibm-aix5.3.0 and x86_64-linux-gnu. OK to apply to trunk and branch?
This will create ldlex-wrapper.o, not ldlex.o, for compilers other than GCC. I'm not sure whether this code still needs to be portable to compilers that don't understand '-c -o', but if it does, then possible ways out are either: add AM_PROG_CC_C_O to configure.in, or rename the input file so that the object matches the source file with s/\.c$/.o/. If not (i.e., it is fine to assume that '-c -o' works), then adding -o $@ right after -c should work. (The ordering helps depcomp.)
Cheers Nick
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |