|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
gcc 4.5 build on mingwHi,
Has anyone successfully built gcc4.5 under mingw and would like to share their configure options? I took some from a post to build 4.1, but they don't seem to work ../gcc4.5-20091022/configure --prefix= --host=mingw32 --target=mingw32 --program-prefix="" --with-as=/mingw/bin/as.exe --with-ld=/mingw/bin/ld.exe --with-gcc --with-gnu-ld --with-gnu-as --with-gmp=/local --with-mpfr=/local --enable-threads --disable-nls --enable-languages=c,c++ --disable-win32-registry --disable-shared --without-x --enable-bootstrap make CFLAGS="-O2 -fomit-frame-pointer" CXXFLAGS="-mthreads -fno-omit-frame-pointer -O2" LDFLAGS="-s -Wl,--stack=0x800000" bootstrap2 fails with missing mingw32-ar initially. If I copy ar.exe to mingw32-ar.exe and try again it gets further but complains about missing headers. If I still had any hair left, I'd be pulling it out by now! Cheers Jim ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ MinGW-users mailing list MinGW-users@... This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists. We ask that you be polite and do the same. Most annoying abuses are: 1) Top posting 2) Thread hijacking 3) HTML/MIME encoded mail 4) Improper quoting 5) Improper trimming _______________________________________________ You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users |
|
|
Re: gcc 4.5 build on mingwOn 10/29/2009 16:11, Jim Hauxwell wrote:
> Hi, > > Has anyone successfully built gcc4.5 under mingw and would like to share > their configure options? > > I took some from a post to build 4.1, but they don't seem to work > > ../gcc4.5-20091022/configure --prefix= --host=mingw32 --target=mingw32 > --program-prefix="" --with-as=/mingw/bin/as.exe > --with-ld=/mingw/bin/ld.exe --with-gcc --with-gnu-ld --with-gnu-as > --with-gmp=/local --with-mpfr=/local --enable-threads --disable-nls > --enable-languages=c,c++ --disable-win32-registry --disable-shared > --without-x --enable-bootstrap > > make CFLAGS="-O2 -fomit-frame-pointer" CXXFLAGS="-mthreads > -fno-omit-frame-pointer -O2" LDFLAGS="-s -Wl,--stack=0x800000" bootstrap2 > > > fails with missing mingw32-ar initially. If I copy ar.exe to > mingw32-ar.exe and try again it gets further but complains about missing > headers. > > If I still had any hair left, I'd be pulling it out by now! > > Cheers > > Jim Hi, I think its because you forgot to set "--prefix=" properly. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ MinGW-users mailing list MinGW-users@... This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists. We ask that you be polite and do the same. Most annoying abuses are: 1) Top posting 2) Thread hijacking 3) HTML/MIME encoded mail 4) Improper quoting 5) Improper trimming _______________________________________________ You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users |
|
|
Re: gcc 4.5 build on mingw> > Hi, > > I think its because you forgot to set "--prefix=" properly. > OK, so I added the prefix ../gcc4.5-20091022/configure --prefix=/mingw --host=mingw32 --target=mingw32 --program-prefix="" --with-as=/mingw/bin/as.exe --with-ld=/mingw/bin/ld.exe --with-gcc --with-gnu-ld --with-gnu-as --with-gmp=/local --with-mpfr=/local --enable-threads --disable-nls --enable-languages=c,c++ --disable-win32-registry --disable-shared --without-x --enable-bootstrap make CFLAGS="-O2 -fomit-frame-pointer" CXXFLAGS="-mthreads -fno-omit-frame-pointer -O2" LDFLAGS="-s -Wl,--stack=0x800000" bootstrap2 And I get the following error. ../../../gcc-4.5-20091022/libgcc/../gcc/libgcc2.c:1813: warning: implicit declaration of function '__builtin_huge_valq' ../../../gcc-4.5-20091022/libgcc/../gcc/libgcc2.c:1813: error: size of array 'compile_type_assert' is negative make[3]: *** [_multc3.o] Error 1 make[3]: Leaving directory `/home/Jim/gcc-4.5/mingw32/libgcc' I go back to my original question. Has someone built 4.5 on mingw and if so what was your config and build options? Cheers Jim ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ MinGW-users mailing list MinGW-users@... This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists. We ask that you be polite and do the same. Most annoying abuses are: 1) Top posting 2) Thread hijacking 3) HTML/MIME encoded mail 4) Improper quoting 5) Improper trimming _______________________________________________ You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users |
|
|
Re: gcc 4.5 build on mingwOn 10/30/2009 04:55, Jim Hauxwell wrote:
> >> >> Hi, >> >> I think its because you forgot to set "--prefix=" properly. >> > > OK, so I added the prefix > > ../gcc4.5-20091022/configure --prefix=/mingw --host=mingw32 > --target=mingw32 --program-prefix="" --with-as=/mingw/bin/as.exe > --with-ld=/mingw/bin/ld.exe --with-gcc --with-gnu-ld --with-gnu-as > --with-gmp=/local --with-mpfr=/local --enable-threads --disable-nls > --enable-languages=c,c++ --disable-win32-registry --disable-shared > --without-x --enable-bootstrap > > > make CFLAGS="-O2 -fomit-frame-pointer" CXXFLAGS="-mthreads > -fno-omit-frame-pointer -O2" LDFLAGS="-s -Wl,--stack=0x800000" bootstrap2 > > > And I get the following error. > > > ../../../gcc-4.5-20091022/libgcc/../gcc/libgcc2.c:1813: warning: > implicit declaration of function '__builtin_huge_valq' > ../../../gcc-4.5-20091022/libgcc/../gcc/libgcc2.c:1813: error: size of > array 'compile_type_assert' is negative > make[3]: *** [_multc3.o] Error 1 > make[3]: Leaving directory `/home/Jim/gcc-4.5/mingw32/libgcc' > > > I go back to my original question. Has someone built 4.5 on mingw and > if so what was your config and build options? Hi, there is nothing wrong with your configure option, GCC 4.5 should build fine. If possible, please post the full error message including the command invoked that caused the error and some information about your GCC installation (mingwrt, w32api, gcc versions). I've built GCC to target mingw not long ago, maybe this is a new problem. You could retry with SVN head version. __builtin_huge_valq was already added in 2008 for i386. See <http://www.nabble.com/PATCH,-i386:-add-__builtin_huge_valq-td20948755.html>. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ MinGW-users mailing list MinGW-users@... This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists. We ask that you be polite and do the same. Most annoying abuses are: 1) Top posting 2) Thread hijacking 3) HTML/MIME encoded mail 4) Improper quoting 5) Improper trimming _______________________________________________ You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users |
|
|
Re: gcc 4.5 build on mingw>
> there is nothing wrong with your configure option, GCC 4.5 should build > fine. If possible, please post the full error message including the > command invoked that caused the error and some information about your > GCC installation (mingwrt, w32api, gcc versions). > > I've built GCC to target mingw not long ago, maybe this is a new > problem. You could retry with SVN head version. > > __builtin_huge_valq was already added in 2008 for i386. See > <http://www.nabble.com/PATCH,-i386:-add-__builtin_huge_valq-td20948755.html>. > gcc.exe (GCC) 4.4.0 Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. w32api-3.13-mingw32-dev mingwrt-3.16-mingw32-dev exact error message mingw32-gcc -L/home/Jim/gcc-4.5/mingw32/winsup/mingw -L/home/Jim/gcc-4.5/mingw32/winsup/w32api/lib -isystem /home/Jim/gcc-4.5-20091022/winsup/mingw/include -isystem /home/Jim/gcc-4.5-20091022/winsup/w32api/include -g -O2 -O2 -I../../gcc-4.5-20091022/gcc/../winsup/w32api/include -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../.././gcc -I../../../gcc-4.5-20091022/libgcc -I../../../gcc-4.5-20091022/libgcc/. -I../../../gcc-4.5-20091022/libgcc/../gcc -I../../../gcc-4.5-20091022/libgcc/../include -DHAVE_CC_TLS -o _multc3.o -MT _multc3.o -MD -MP -MF _multc3.dep -DL_multc3 -c ../../../gcc-4.5-20091022/libgcc/../gcc/libgcc2.c \ ../../../gcc-4.5-20091022/libgcc/../gcc/libgcc2.c:1813: warning: implicit declaration of function '__builtin_huge_valq' ../../../gcc-4.5-20091022/libgcc/../gcc/libgcc2.c:1813: error: size of array 'compile_type_assert' is negative make[3]: *** [_multc3.o] Error 1 make[3]: Leaving directory `/home/Jim/gcc-4.5/mingw32/libgcc' make[2]: *** [all-stage1-target-libgcc] Error 2 make[2]: Leaving directory `/home/Jim/gcc-4.5' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/Jim/gcc-4.5' make: *** [bootstrap2] Error 2 I will try an earlier version of 4.5 as I just took the head Jim ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ MinGW-users mailing list MinGW-users@... This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists. We ask that you be polite and do the same. Most annoying abuses are: 1) Top posting 2) Thread hijacking 3) HTML/MIME encoded mail 4) Improper quoting 5) Improper trimming _______________________________________________ You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users |
| Free embeddable forum powered by Nabble | Forum Help |