I tried to add datarootdir and I don't have the first warning anymore but
it doesn't fix my install path ...
In libstdc++ and libssp configure I have this :

...
# There might be people who depend on the old broken behavior: `$host'
# used to hold the argument of --host etc.
# FIXME: To remove some day.
build=$build_alias
host=$host_alias
target=$target_alias

# FIXME: To remove some day.
if test "x$host_alias" != x; then
  if test "x$build_alias" = x; then
    cross_compiling=maybe
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use
--host.
    If a cross compiler is detected then cross compile mode will be used."
>&2
  elif test "x$build_alias" != "x$host_alias"; then
    cross_compiling=yes
  fi
fi

When i display values I get this :
build_alias=, 
host_alias=arm-mingw32ce

So I have added --build=${BUILD} to gcc configure and I don't have my
second warning BUT install path is still not right.

If someone has an idea I am all eyes ...









On Sat, 02 Aug 2008 11:18:26 +0200, <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I have built a cegcc from a gcc 4.1.2 because when generating a D cross
> compiler from original cegcc(4.1.0) I got compilation errors
(unrecognized
> insn).
> So now I need some testing, for now I only have tested the cygwin
version.
> 
> You will find binaries here:
> 
> http://www.smartmobili.com/Downloads/cegcc-cegcc-4.1.2.tar.gz
> http://www.smartmobili.com/Downloads/cegcc-mingw32ce-4.1.2.tar.gz
> http://www.smartmobili.com/Downloads/cygwin-cegcc-cegcc-4.1.2.tar.gz


> http://www.smartmobili.com/Downloads/cygwin-cegcc-mingw32ce-4.1.2.tar.gz
> 
> You can recompile it with the source available here :
> svn co https://trac.smartmobili.com/repository/cegcc/branches/cegcc-4.1.2
> cegcc-4.1.2
> 
> Just note that if you try to recompile it, there is a issue with install
> path and you manually need to move /opt/mingw32ce/lib/libs* to
> /opt/mingw32ce/arm-mingw32ce/lib/libs*
> 
> I think the issue comes from autoconf > 2.59 because in log file I can
see
> 
> warnings :
> 
> config.status: WARNING: 
/home/Vincent/cegcc-4.1.2/src/gcc/gcc/Makefile.in
> seems to ignore the --datarootdir setting
> 
> I will try to fix it today, I think I just need to add datarootdir =
> @datarootdir@ to Makefile.in
>
(http://www.gnu.org/software/libtool/manual/autoconf/Changed-Directory-Variables.html)
> 
> There is also another log different from original cegcc : 
> 
> mkdir -p -- arm-mingw32ce/libstdc++-v3
> Configuring in arm-mingw32ce/libstdc++-v3
> configure: WARNING: If you wanted to set the --build type, don't use
> --host.
>     If a cross compiler is detected then cross compile mode will be used.
> 
> I don't understand since scripts is not passing --host when compiling GCC
> ...
> I will investigate.
> 
> 
> 
> 
> 
> 
> Thanks 
> 
> 
> 
> -------------------------------------------------------------------------
> 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
> Cegcc-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cegcc-devel


-------------------------------------------------------------------------
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
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to