From: François D. <fra...@fr...> - 2008-11-16 21:28:44
|
Hi I am sorry to insist on this point but I really think that a good localization support would be a great enhancement for MinGW. So here are the last lines I have when I run make to build the complete gcc package for C and C++ language using the configure command advised in this thread: No need to remake target `cpp.exe'. Considering target file `specs'. File `specs' does not exist. Pruning file `xgcc.exe'. Finished prerequisites of target file `specs'. Must remake target `specs'. c;C:\Utils\msys\1.0\Utils\gcc-build\gcc\xgcc -Bc;C:\Utils\msys\1.0\Utils\gcc-build\gcc\ -Lc;C:\Utils\msys\1.0\Utils\gcc-build\mingw32\winsup\mingw -Lc;C:\Utils\msys\1.0\Utils\gcc-build\mingw32\winsup\w32api\lib -isystem c;C:\Utils\msys\1.0\Utils\gcc\trunk\winsup\mingw\include -isystem c;C:\Utils\msys\1.0\Utils\gcc\trunk\winsup\w32api\include -BC;C:\Utils\msys\1.0\Utils\msys\1.0\local\mingw32\bin\ -BC;C:\Utils\msys\1.0\Utils\msys\1.0\local\mingw32\lib\ -isystem C;C:\Utils\msys\1.0\Utils\msys\1.0\local\mingw32\include -isystem C;C:\Utils\msys\1.0\Utils\msys\1.0\local\mingw32\sys-include -dumpspecs > tmp-specs CreateProcess(C:\Utils\msys\1.0\bin\sh.exe,C:/Utils/msys/1.0/bin/sh.exe -c "c;C:\Utils\msys\1.0\Utils\gcc-build\gcc\xgcc -Bc;C:\Utils\msys\1.0\Utils\gcc-build\gcc\ -Lc;C:\Utils\msys\1.0\Utils\gcc-build\mingw32\winsup\mingw -Lc;C:\Utils\msys\1.0\Utils\gcc-build\mingw32\winsup\w32api\lib -isystem c;C:\Utils\msys\1.0\Utils\gcc\trunk\winsup\mingw\include -isystem c;C:\Utils\msys\1.0\Utils\gcc\trunk\winsup\w32api\include -BC;C:\Utils\msys\1.0\Utils\msys\1.0\local\mingw32\bin\ -BC;C:\Utils\msys\1.0\Utils\msys\1.0\local\mingw32\lib\ -isystem C;C:\Utils\msys\1.0\Utils\msys\1.0\local\mingw32\include -isystem C;C:\Utils\msys\1.0\Utils\msys\1.0\local\mingw32\sys-include -dumpspecs > tmp-specs",...) Putting child 0x00fb37f8 (specs) PID 16505408 on the chain. Live child 0x00fb37f8 (specs) PID 16505408 /usr/bin/sh: c: command not found /usr/bin/sh: C:Utilsmsys1.0Utilsgcc-buildgccxgcc: command not found /usr/bin/sh: C:Utilsmsys1.0Utilsgcc-buildgcc -Lc: command not found The build script is generating a really weird command. I guess there must be some trouble with management of '/' or '\' or with the C: problem exposed in this thread too. Do you know how I can debug this problem ? Thanks John E. / TDM wrote: > Brian Dessent wrote: > >> François Dumont wrote: >> >> >> >>> For the moment I have checkout SVN trunk and 4.3 branch and when I >>> call the configure script in any branch I have: >>> >>> configure: error: cannot find install-sh or install.sh in . ./.. ./../.. >>> >>> >> libstdc++ is not a separate entity from gcc, you cannot build it in >> isolation -- they are very closely coupled. It sounds like you're >> checking out just part of the gcc tree and running the configure script >> of a sub-directory. That won't work. You have to run the top-level >> configure script. As long as you have enabled the C++ language, >> libstdc++ will be built. You can limit it to --enable-languages=c,c++ >> if you don't want to build the other default languages like gfortran. >> >> > > Brian is correct; libstdc++ is designed to build with a just-built > version of GCC. > > Here are the commands I would use: (Always from a directory outside the > GCC source tree!) > > ../gcc-4.3/configure --prefix=/mingw --build=mingw32 \ > --enable-languages=c,c++ --enable-sjlj-exceptions \ > --disable-werror --disable-bootstrap > > make > > make install DESTDIR=<staging area> > > > You should be able to do this with any of MinGW's recent GCC releases in > PATH, but I've only done it recently with a custom 4.3.2 build. You > *must* build GMP and MPFR (or obtain pre-built versions); I like to use > the C_INCLUDE_PATH and LIBRARY_PATH environment variables to make GCC > aware of them without having to include their paths on the configure line. > > -John E. / TDM > > ------------------------------------------------------------------------- > 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=/ > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > > > |