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]

Re: binutils for arm-wince-pe build broken on cygwin?


Pedro Alves wrote:
Alan Modra wrote:
On Fri, Mar 31, 2006 at 09:36:54PM +0100, Pedro Alves wrote:
"/* Script for ld -Ur: link w/out relocation, do create constructors */\n\

\n\
OUTPUT_FORMAT(pe-arm-little)
\n\

\n\

\n\
SEARCH_DIR(\"/cygdrive/d/gcc/wince/arm-wince-pe/lib\");
\n\
<snip>
---------------------------------
Notice the extra empty lines without a continuation escape. Looking at a tree I have build a few months ago, I see that
those empty newlines should not be there.
I think earmpe.c is build from pe.em by genscripts.sh.

Yes, and the part you show above comes from ldscripts/armpe.xu, itself a generated file. I would guess armpe.xu has blank lines too, possibly caused by a broken sed.


You are right. Thanks for the tip. Downgrading to sed 4.1.4 fixed the
problem.
I am now confirming if the problem shows up also in i686-pc-cygwin target.
Has anyone stumbled on a similar problem yet?


A little late, but...
Confirmed. I am having the same problem for i686-pc-cygwin.
Found this interesting thread at cygwin's mailing list
http://www.cygwin.com/ml/cygwin/2006-02/msg00846.html

Probably the same is happening to me. When I stumble on this again I am going to try something like,
find . -exec dos2unix {} \ ;
on my sources, although that will screw all my timestamps, and that will screw cvs diffing...


Cheers,
Pedro Alves


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