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: configure.target: overwrites known cpu's to generic


Matthias Klose <doko@cs.tu-berlin.de> writes:

> libstdc++'s configure.target does overwrite any "known" cpu to
> generic:
>
> - i486 is overwritten to generic
>
> - i386 has it's own abi, it's not i486, overwritten to generic anyway
>
> - s390 is overwritten to generic
>
> - all other cpu's not handled in the switch are overwritten to generic
>   (i.e. mips/mipsel)
>
> checked on the branch only.

Can you check whether the appended patch fixes this for you, please?

If this does not fix it, please explain a bit more which variable is
wrong.  Perhaps I'm looking at the wrong place :-(

Andreas

Index: configure.target
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/Attic/configure.target,v
retrieving revision 1.56.2.2
diff -u -p -r1.56.2.2 configure.target
--- configure.target	19 Jun 2003 15:53:05 -0000	1.56.2.2
+++ configure.target	20 Jun 2003 06:49:29 -0000
@@ -59,8 +59,8 @@ c_compatibility=no
 # Here we override defaults and catch more general cases due to naming
 # conventions (e.g., chip_name* to catch all variants).
 # THIS TABLE IS SORTED.  KEEP IT THAT WAY.
-if test -d ${glibcpp_srcdir}/config/cpu/${host_cpu}; then
-  try_cpu=${host_cpu}
+if test -d ${glibcpp_srcdir}/config/cpu/${target_cpu}; then
+  try_cpu=${target_cpu}
 fi
 
 case "${target_cpu}" in

-- 
 Andreas Jaeger, SuSE Linux AG, aj@suse.de, http://www.suse.de/~aj
  GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


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