Web lists-archives.com

Re: [Mingw-users] I'm a newbie to MinGW. How Can I build MinGW from source?

Hello all:

I compiled as follow and has a compile error:cannot compute suffix of object
files: cannot compile.

1) build GMP
download GMP (5.1.2) source
untar to /home/gmp-5.1.2
cd /home/gmp-5.1.2
mkdir build
cd build
make install  (default: /usr/local/)
2) build mpfr
same as 1)
3) build mpc
same as 1)

4) download gcc-5.3.0 source
untar to /home/www/mingw32-src/src
mkdir /home/www/mingw32-src/build
cd build
mingw-pkg SRCDIR=../src/gcc-5.3.0 patch
mingw-pkg SRCDIR=../src/gcc-5.3.0 configure     Here has problem with GNAT,
so I configure manually:
../src/gcc-5.3.0/configure --prefix=/mingw --disable-win32-registry
--target=mingw32 --with-arch=i586 --enable-languages=c,c++ --enable-static
--enable-shared --enable-threads --with-dwarf2 --disable-sjlj-exceptions
--enable-version-specific-runtime-libs --with-libiconv-prefix=/mingw
--with-libintl-prefix=/mingw --enable-libstdcxx-debug --with-tune=generic
--enable-libgomp --disable-libvtv --enable-nls

make        Here has error:
checking for suffix of object files... configure: error: in
configure: error: cannot compute suffix of object files: cannot compile

I export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib  and make clean &
make, the problem still exists.

How can I solve this? Please help!

View this message in context: http://mingw-users.1079350.n2.nabble.com/I-m-a-newbie-to-MinGW-How-Can-I-build-MinGW-from-source-tp7584626p7584629.html
Sent from the MinGW-users mailing list archive at Nabble.com.

Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
MinGW-users mailing list

This list observes the Etiquette found at 
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe