Do configury choies on target, not target_alias
Ranjit Mathew
rmathew@hotmail.com
Thu Oct 17 21:40:00 GMT 2002
Phil Edwards wrote:
> On Fri, Oct 04, 2002 at 10:04:45AM +0530, Ranjit Mathew wrote:
>
>>Phil Edwards wrote:
>>
>>>The switch stmts only affect cross compilers. I tried building one using
>>>the target in question ("--target=mingw32"), but configure died somewhere
>>>in the binutils. So I'm not committing this until somebody else can
>>>sanity-check it first, while I go hunt down binutils braindamage.
>>
>>binutils would not build OOB for MinGW - you either need to get
>>the patched sources or the diffs from the official binutils sources
>>from:
>>
>>http://sourceforge.net/project/showfiles.php?group_id=2435&release_id=104238
>>
>>With these sources, cross binutils 2.13 built OOB for me on my
>>Linux box (Slackware 8.1, glibc 2.2.5, gcc 2.95.3) with
>>"--target=mingw32".
>>
>>And thank you for the modifications.
>
>
> Just to be clear: does this mean the patch works for you? If so, I'll
> check it in. If it hasn't been tested on mingw32, then I'll wait.
In short, yes, it does work for me.
I rolled back my patch (change *-mingw32* to *mingw32*) and applied
your patch to the libstdc++-v3 as found in GCC 3.2 and could
successfully build, install and smoke test:
1. Linux-hosted MinGW cross compiler (build=host=i686-pc-linux-gnu
and target=mingw32).
2. Native MinGW compiler built on Linux (build=i686-pc-linux-gnu
and host=target=mingw32) using the cross compiler produced
by (1) above.
BTW, I built and installed only C and C++, and explicitly
specified "--target=mingw32" to configure.
I used GCC 3.2 and binutils 2.13 sources with MinGW patches
dated 20020817 and 20020903 respectively, as found at the
MinGW SF repository at http://sourceforge.net/projects/mingw/.
A minor thing to note was that the version of libstdc++-v3
configure.in that comes with GCC 3.2 had only two
"case "$target_alias"" statements - in any case, the second
"case" statement in your patch is a "sub case" in hpux of
a larger "case".
If this is good enough and no one else has had a problem
with this, I guess you can proceed with the check in.
Thank you once again for your help.
Sincerely Yours,
Ranjit.
--
Ranjit Mathew Email: rmathew AT hotmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/
More information about the Libstdc++
mailing list