This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: [Fwd: PATCH: libstd++-v3 configure script and target mingw32]


Benjamin Kosnik wrote:
     This small patch attempts to fix the misbehaviour
of the libstd++-v3 configure script while building
a cross compiler for target "mingw32" (the "official"
target for MinGW, aliased to i386-pc-mingw32).

target_alias isn't *-mingw32*? Seems odd: none of the other targets in
configure.in have this. Should they be changed too?
I don't know why, but lines 21-27 of configure.in read
something like this:

21 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
22 # AC 2.5x sets target_alias iff the user specified --target, but we use
it
23 # everywhere, so we set it here just to be sure. In AC 2.13
24 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
25 AC_CANONICAL_SYSTEM
26 target_alias=${target_alias-$target}
27 AC_SUBST(target_alias)

This could be the source of the problem - the GCC configure
scripts merely call AC_CANONICAL_SYSTEM and continue.

I'm not too familiar with autoconf/automake so this could be
way off target (no pun intended!).

Sincerely Yours,
Ranjit Mathew.




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