Web lists-archives.com

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

On 2/16/2017 10:44 PM, firebird wrote:
> Hello all:
> I compiled as follow and has a compile error:cannot compute suffix of object
> files: cannot compile.

> 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
> `/home/www/www/mingw32-src/build/mingw32/libgcc':
> 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.

Why is it configuring GNAT, you didn't specify it with --enable-languages.

> How can I solve this? Please help!

The last time I tried I gave up on GNAT.  Maybe remove the GNAT
directory from the source would help.  Or maybe a specific parameter to
specify to not configure GNAT.  Maybe ./configure --help=recursive may
help.  Be sure to redirect to a file or pipe to a pager.


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