Web lists-archives.com

Re: [Mingw-users] Is --build-x86-64-pc-linux-gnu correct for building a Win32 DLL ?

On 2/15/2017 3:26 PM, Cervinka, Mitch wrote:
> I am trying to build a Windows x86 DLL in MinGW using Eclipse(Mars) and GFortran.
> However, I saw the following text in the console window after doing a "make all", and am wondering why it says --build=x86_64-pc-linux-gnu since I am not using Linux at all.  I am building on a Windows 10 (64-bit) PC, targeting 32-bit Windows.  Is the --build option correct for this scenario?  If not, how do I change it in the Eclipse settings?

This is stating the configuration of the compiler you are using.  It has
nothing to do with your system other than you are using someone's
compiler that had a client (--build) that was Linux.

> Target: mingw32
> Configured with: ../src/gcc-5.3.0/configure --build=x86_64-pc-linux-gnu --host=mingw32 --prefix=/mingw --disable-win32-registry --target=mingw32 --with-arch=i586 --enable-languages=c,c++,objc,obj-c++,fortran,ada --enable-static --enable-shared --enable-threads --with-dwarf2 --disable-sjlj-exceptions --enable-version-specific-runtime-libs --with-libintl-prefix=/mingw --enable-libstdcxx-debug --with-tune=generic --enable-libgomp --disable-libvtv --enable-nls : (reconfigured) ../src/gcc-5.3.0/configure --build=x86_64-pc-linux-gnu --host=mingw32 --prefix=/mingw --disable-win32-registry --target=mingw32 --with-arch=i586 --enable-languages=c,c++,objc,obj-c++,fortran,ada --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
> Thread model: win32

This looks correct, does the application execute?


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