So finally here is my analysis :
Actually toolexecdir and toolexeclibdir depends on :
in libstdc++\acinclude.m4
# Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
# Install a library built with a cross compiler in tooldir, not libdir.
if test x"$glibcxx_toolexecdir" = x"no"; then
if test -n "$with_cross_host" &&
test x"$with_cross_host" != x"no"; then
glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
glibcxx_toolexeclibdir='${toolexecdir}/lib'
else
glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
glibcxx_toolexeclibdir='${libdir}'
fi
multi_os_directory=`$CXX -print-multi-os-directory`
case $multi_os_directory in
.) ;; # Avoid trailing /.
*) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory
;;
esac
fi
So from script above : glibcxx_toolexecdir and glibcxx_toolexeclibdir
depends on variable $with_cross_host
When looking at libstdc++ config.log I can read the following :
With cegcc-4.1.0 :
It was created by package-unused configure version-unused, which was
generated by GNU Autoconf 2.59. Invocation command line was
/home/Vincent/cegcc-4.1.2/src/gcc/libstdc++-v3/configure
--cache-file=./config.cache
--build=i686-pc-cygwin
--host=arm-mingw32ce
--target=arm-mingw32ce
--with-cross-host=i686-pc-cygwin
--with-gcc
--with-gnu-ld
--with-gnu-as
--prefix=/opt/mingw32ce
--enable-threads=win32
--disable-nls
--disable-win32-registry
--disable-multilib
--disable-interwork
--without-newlib
--enable-checking
--with-headers
--enable-languages=c,c++
--program-transform-name=s,^,arm-mingw32ce-,;
--with-target-subdir=arm-mingw32ce
--srcdir=/home/Vincent/cegcc-4.1.2/src/gcc/libstdc++-v3
With cegcc-4.1.2 :
It was created by package-unused configure version-unused, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ /home/Vincent/cegcc-4.1.2/src/gcc/libstdc++-v3/configure
--cache-file=./config.cache
--build=
--host=arm-mingw32ce
--target=arm-mingw32ce
--with-cross-host=
--with-gcc
--with-gnu-ld
--with-gnu-as
--target=arm-mingw32ce
--prefix=/opt/mingw32ce
--enable-threads=win32
--disable-nls
--enable-languages=c,c++
--disable-win32-registry
--disable-multilib
--disable-interwork
--without-newlib
--enable-checking
--with-headers
target_alias=arm-mingw32ce
--enable-languages=c,c++
--program-transform-name=s&^&arm-mingw32ce-&
--with-target-subdir=arm-mingw32ce
--srcdir=/home/Vincent/cegcc-4.1.2/src/gcc/libstdc++-v3
So in cegcc-4.1.2 build value is missing and with-cross-host as well.
We can also see that target_alias=arm-mingw32ce is appended but it
shouldn't
I suppose I made a mistake when regenrating configure but I don't know
where.
If some guru in automake/autoconf could have a look ...
Or even if you are not a guru could someone with autoconf <= 2.59 could
regenerate libstdc++ configure and libssp
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel