This is the mail archive of the
mailing list for the binutils project.
Re: PATCH: Re: other/9031
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: aoliva at redhat dot com (Alexandre Oliva)
- Cc: gcc-gnats at gcc dot gnu dot org, nobody at gcc dot gnu dot org, dave dot anglin at nrc dot ca, gcc-patches at gcc dot gnu dot org, binutils at sources dot redhat dot com
- Date: Thu, 26 Dec 2002 23:10:28 -0500 (EST)
- Subject: Re: PATCH: Re: other/9031
> host. So perhaps it would be more reasonable to change case $host to
> case $build. Besides, I suppose the problem may actually be caused by
> the unnecessary use of double quotes in the assignment. I *think*
> taking them out may cause the needless CR to go away without affecting
> anything else.
I don't think so. The double quotes were mine and not in the original
libtool macro. The original comment regarding the CR was that gcc leaves
a trailing CR which upsets mingw. I am unable to test whether this is
actually a problem. The libtool patch to strip carriage returns was made
by Gary Vaughan on 1999-08-03. The predates the libtool archive. I agree
that $host should be $build.
> Also, pathname canonicalization is tricky business. Replacing
> foo/../ with / is only a good idea when foo is not a soft link. Do we
> really need this?
I did the pathname canonicalization because the libtool macro did it
and I was trying the provide a default value for LD comparible to what
libtool would generate. It's unnecessary in the configurations that
I use and would have no objection in removing it.
J. David Anglin firstname.lastname@example.org
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)