V | 27 May 23:44 2015
Picon

Concerns about hosting mingw on sourceforge

Over time Sourceforge has become a shady service. They bundle installers 
with ad and malware and recently "took over the control of the 'GIMP for 
Windows' account and is now distributing an ads-enabled installer of 
GIMP. They also locked out original owner of the account, Jernej 
Simončič, who has been building the Windows versions of GIMP for our 
project for years." (https://plus.google.com/+gimp/posts/cxhB1PScFpe) .

Im a user of Mingw but I dont trust files especially executables from 
Sourceforge anymore and I would like it very much if Mingw would move to 
an alternative. I realize this can be a huge effort but I felt like it 
was important to voice my opinion on this matter and projects should 
think about if they really want to be affiliated with Sourceforge at 
this point.

------------------------------------------------------------------------------
_______________________________________________
MinGW-users mailing list
MinGW-users <at> lists.sourceforge.net

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
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:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request <at> lists.sourceforge.net?subject=unsubscribe
Clive Crous | 20 May 10:59 2015
Picon

Current MinGW GCC gives no output on failures?

Hi,

I'm having trouble with failed compiles not giving any output at all (unless the input source file is completely missing).

I've used mingw-get to install everything on my system, and it appears that gcc/g++ simply don't output errors anymore? Is there something I'm missing here?

I've attached a screenshot.

Thanks,
Clive


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
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.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe
Joseph Sheppard | 19 May 14:09 2015
Picon

OpenTTD source file references "unistd.h" but GCC can't find this function: fdatasync(int)

Hi,

I've not been able to compile OpenTTD in my Windows 8.1 64bit OS having followed these instructions because GCC can't find this function's declaration:
[SRC] Compiling ini.cpp
C:/MinGW/msys/1.0/trunk/src/ini.cpp: In member function 'bool IniFile::SaveToDisk(const char*)':
C:/MinGW/msys/1.0/trunk/src/ini.cpp:84:31: error: 'fdatasync' was not declared in this scope
  int ret = fdatasync(fileno(f));
                               ^
make[1]: *** [ini.o] Error 1
make[1]: Leaving directory `/usr/trunk/objs/release'
make: *** [all] Error 1

This source file can be viewed here: https://docs.openttd.org/ini_8cpp_source.html

I've seen that the Unix specification of unistd.h declares this function but I've not found its declaration in the MinGW unistd.h and its included source files.

I'm a new MinGW user having installed it yesterday and I've only installed OpenTTD's required libraries:

My CPATH directory is: C:/MinGW/msys/1.0/local/include

My LIBRARY_PATH directory is: C:/MinGW/msys/1.0/local/lib

Installed MinGW packages:

* mingw32-base
* mingw32-gcc g++
* msys-base


Does anyone know what I'm doing wrong?



$ ./configure
checking awk... awk
detecting OS... MINGW
checking build system type... mingw32
checking host system type... mingw32
checking universal build... no
checking build cc... gcc
checking host cc... gcc
checking build c++... g++
checking host c++... g++
checking host windres... windres
checking strip... disabled
checking builtin depend... yes
checking makedepend... disabled
detecting cpu-type... 32 bits
detecting SSE... found
checking static... yes
checking unicode... yes
using debug level... no
using desync debug level... no
using link time optimization... no
checking OSX sysroot... not OSX, skipping
checking Allegro... not found
checking SDL... not found
checking COCOA... not OSX, skipping
checking GDI video driver... found
checking dedicated... not selected
checking console application... disabled (only used when forced)
checking network... found
checking squirrel... found
checking translator... no
checking assert... enabled
checking zlib... found
checking liblzma... found
checking lzo2... found
checking libxdg-basedir... not found
checking libpng... found
checking libfreetype... found
checking libfontconfig... WIN32, skipping
checking libicu... not found
checking psp-config... not PSP, skipping
checking libtimidity... not found
checking direct-music... not found
checking sort... sort
checking endianness... AUTO
suppress language errors... no
checking stripping... skipped
checking distcc... no (only used when forced)
checking ccache... no (only used when forced)
checking grfcodec... not found
checking nforenum... not found
checking OSX application bundle... not OSX, skipping
checking revision... svn detection
checking iconv... not OSX, skipping
personal home directory... OpenTTD
shared data directory... none
installation directory... /
icon theme directory... none
manual page directory... none
menu item directory... none
using CFLAGS_BUILD...  -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strin
gs -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wforma
t-security -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wn
on-virtual-dtor -Wno-free-nonheap-object -DMINGW
using CXXFLAGS_BUILD...  -std=gnu++0x -Wno-narrowing
using LDFLAGS_BUILD...  -static-libgcc -static-libstdc++
using CFLAGS... -O2 -fomit-frame-pointer  -Wall -Wno-multichar -Wsign-compare -W
undef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls
 -Wformat=2 -Wformat-security -Winit-self -fno-strict-aliasing -Wcast-qual -fno-
strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -DMINGW -DWITH_SSE -
mno-ms-bitfields -DWIN -DWITH_ZLIB -DWITH_LZMA -IC:/MinGW/msys/1.0/local/include
     -DLZMA_API_STATIC -DWITH_LZO -IC:/MinGW/msys/1.0/trunk/src/3rdparty/squirre
l/include -DWITH_PNG -IC:/MinGW/msys/1.0/local/include/libpng15     -DWITH_FREET
YPE -I/usr/local/include/freetype2 -I/usr/local/include  -DUNICODE -D_UNICODE -D
ENABLE_NETWORK -DWITH_PERSONAL_DIR -DPERSONAL_DIR=\\"OpenTTD\\" -DGLOBAL_DATA_DI
R=\\"/usr/local/share/games/openttd\\"
using CXXFLAGS...  -std=gnu++0x -Wno-narrowing
using LDFLAGS... -lstdc++ -lws2_32 -lwinmm -lgdi32 -ldxguid -lole32 -limm32 /usr
/local/lib/libz.a -LC:/MinGW/msys/1.0/local/lib -llzma     /usr/local/lib/liblzo
2.a -LC:/MinGW/msys/1.0/local/lib -lpng15 -lz     -L/usr/local/lib -lfreetype -l
z   -Wl,--subsystem,windows -static
Generating Makefile...
Generating lang/Makefile...
Generating setting/Makefile...
Generating grf/Makefile...
Generating objs/Makefile...
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
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.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe
GARCIA Julien | 13 May 10:56 2015
Picon

Cannot install mingw-get-setup.exe

Dear Sir or Madam,
I wanted to install MinGW+MSYS from the installer http://sourceforge.net/projects/mingw/files/
The installation failed and the errors are written below. Can you help me please? Thanks in advance.
Best regards,
Dr. Julien Garcia
mingw-get: *** WARNING *** http://prdownloads.sourceforge.net/mingw/mingw-get-0.6.2-mingw32-beta-20131004-1-bin.tar.xz?download: opened with unexpected status: code = 407
mingw-get: *** WARNING *** please report this to the mingw-get maintainer
mingw-get: *** WARNING *** http://prdownloads.sourceforge.net/mingw/mingw-get-0.6.2-mingw32-beta-20131004-1-gui.tar.xz?download: opened with unexpected status: code = 407
mingw-get: *** WARNING *** please report this to the mingw-get maintainer
mingw-get: *** WARNING *** http://prdownloads.sourceforge.net/mingw/mingw-get-0.6.2-mingw32-beta-20131004-1-lic.tar.xz?download: opened with unexpected status: code = 407
mingw-get: *** WARNING *** please report this to the mingw-get maintainer
mingw-get: *** WARNING *** please report this to the mingw-get maintainer
mingw-get: *** WARNING *** please report this to the mingw-get maintainer
mingw-get: *** INFO *** setup: unpacking mingw-get-0.6.2-mingw32-beta-20131004-1-bin.tar.xz
mingw-get: *** ERROR *** unpack: required archive file is not available
mingw-get: *** ERROR *** unpack: aborted due to previous download failure
mingw-get: *** INFO *** setup: unpacking mingw-get-0.6.2-mingw32-beta-20131004-1-gui.tar.xz
mingw-get: *** ERROR *** unpack: required archive file is not available
mingw-get: *** ERROR *** unpack: aborted due to previous download failure
mingw-get: *** INFO *** setup: unpacking mingw-get-0.6.2-mingw32-beta-20131004-1-lic.tar.xz
mingw-get: *** ERROR *** unpack: required archive file is not available
mingw-get: *** ERROR *** unpack: aborted due to previous download failure
mingw-get: *** INFO *** setup: unpacking mingw-get-setup-0.6.2-mingw32-beta-20131004-1-dll.tar.xz
mingw-get: *** ERROR *** unpack: required archive file is not available
mingw-get: *** ERROR *** unpack: aborted due to previous download failure
mingw-get: *** INFO *** setup: unpacking mingw-get-setup-0.6.2-mingw32-beta-20131004-1-xml.tar.xz
mingw-get: *** ERROR *** unpack: required archive file is not available
mingw-get: *** ERROR *** unpack: aborted due to previous download failure
mingw-get: *** ERROR *** setup: unable to continue

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
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.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe
James Franco | 6 May 22:41 2015
Picon

*** fork: can't reserve memory for stack 0xA0000 - 0x2A0000, Win32

I am attempting to build TAO Library from  Ace using Mingw. After running make I get the following. I have tried this with both mingw and Mingw64 bit.


........
........
etype_init_cs.o .shobj/be/be_visitor_valuetype/valuetype_obv_ch.o .shobj/be/be_visitor_valuetype/valuetype_obv_ci.o .shobj/be/be_visitor_valuetype/val
uetype_obv_cs.o .shobj/be/be_visitor_valuetype/valuetype_sh.o .shobj/be/be_visitor_valuetype/valuetype_ss.o .shobj/be/be_visitor_valuetype_fwd/any_op_
ch.o .shobj/be/be_visitor_valuetype_fwd/cdr_op_ch.o .shobj/be/be_visitor_valuetype_fwd/valuetype_fwd_ch.o -lTAO_IDL_FE -lACE -lws2_32 -lmswsock -liphl
papi -lwsock32 -lnetapi32
C:\msys\1.0\bin\sh.exe: *** fork: can't reserve memory for stack 0xA0000 - 0x2A0000, Win32 error 0
      0 [main] sh 9708 sync_with_child: child 10352(0x25C) died before initialization with status code 0x1
    171 [main] sh 9708 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
c:/ACE/ACE_wrappers/include/makeinclude/rules.lib.GNU:242: recipe for target 'libTAO_IDL_BE.dll' failed
make32[1]: *** [libTAO_IDL_BE.dll] Error 128
make32[1]: Leaving directory 'c:/ACE/ACE_wrappers/TAO/TAO_IDL'
GNUmakefile:2259: recipe for target 'TAO_IDL_BE' failed
make32: *** [TAO_IDL_BE] Error 2

any suggestions ?

The details of my build system is as follows for mingw (32 bit)

$ gcc -v
Using built-in specs.
COLLECT_GCC=c:\mingw32\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw32/bin/../libexec/gcc/mingw32/4.8.1/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.8.1/configure --prefix=/mingw --host=mingw32 --build=mingw32 --without-pic --enable-shared --enable-static --with-gnu-ld --e
nable-lto --enable-libssp --disable-multilib --enable-languages=c,c++,fortran,objc,obj-c++,ada --disable-sjlj-exceptions --with-dwarf2 --disable-win32
-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --with-gmp=/usr/src/pkg/gmp-5.1.2-1-mingw32-src/bld --with-mpc=/usr/src/pkg/
mpc-1.0.1-1-mingw32-src/bld --with-mpfr= --with-system-zlib --with-gnu-as --enable-decimal-float=yes --enable-libgomp --enable-threads --with-libiconv
-prefix=/mingw32 --with-libintl-prefix=/mingw --disable-bootstrap LDFLAGS=-s CFLAGS=-D_USE_32BIT_TIME_T
Thread model: win32
gcc version 4.8.1 (GCC)

Any suggestion on how I could resolve this issue ?

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
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.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe
An Bo | 1 May 10:44 2015
Picon

Build path strings inside my binary libraries

Hello, I have built some libraries with MinGW/MSYS and I noticed that the build path is saved in them, in the form:

C:\MinGW\msys\1.0\home\UserName\LibraryDir

How can I prevent that information from being saved to the binaries?
.A, .DLL and .EXE files are all affected by this, with the build path appearing multiple times in each file.

This isn't so much a privacy issue as it is a practical one: useless stuff that my users don't need ought to be
stripped. I'm curious to know why this happens in the first place. Am I forgetting to pass a flag to the
configure script? Thanks.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
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.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe

רונן לוי | 30 Apr 16:49 2015
Picon

Fwd: Needs to add patches to gcc-2.8.1.tar.gz

Hi,

explains how to customize gcc-2.8.1.tar.gz for adding new capabilities in parsing
c++ header files which generates them in XML format.

I have searched how to compile gcc-2.8.1.tar.gz source files (plus patches)
and I came accross Mingw. After installing on windows 7 (32bit machine) I managed
to compile and run "Hello, World" example.

But, the current Mingw binary distribution comes with gcc-4.61...

I downloaded the gcc-2.8.1.tar.gz sources, merged the patches, and now I need
to compile it. For that, I will need some guidance where to start, and how to accomplished this task using Mingw.

Regards,
Ronen
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
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.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe
Clive Crous | 29 Apr 12:28 2015
Picon

Automated install on a headless build machine

Hi,

I'm busy scripting an automated build/deploy of boxes that, in turn, build my software. I've been attempting to find a way of automating the execution of `mingw-get-setup.exe` but have not been able to find any references or information on command-line arguments, or if this is in fact even possible.

Any information on automating mingw installations or deployments would be greatly appreciated.

Thank you,
Clive
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
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.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe
Germán Arias | 28 Apr 01:39 2015
Picon

Package an standalone app

Hi all, I built my project successfully on MinGW. Now I want make an
standalone package, adding all necessary DLLs within my app. I'm
following some old instructions about how do this (with GNUstep), but
with latest mingw I'm unable to achieve this. When I launch the app I
get a window with the message (this is a translation from Spanish) "The
application stop working", and the window show some info at bottom.
Something like "The module with errors is:  libobjc-4.dll". Any idea
about how solve this? Or any advice about the correct way to achieve
this? Thanks.

Germán

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
MinGW-users mailing list
MinGW-users <at> lists.sourceforge.net

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
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:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request <at> lists.sourceforge.net?subject=unsubscribe
David Gressett | 27 Apr 18:24 2015

Failure building gcc 5.1

Has anyone tried to build gcc 5.1? I already had a failure building
 4.9.2  because of a Fortran runtime library problem with  
mingwrt 3.21, but my first attempt at 5.1 failed before it got to 
Fortran. The problem was in the Ada runtime library:

adaint.c: In function 'void __gnat_stat_to_attr(int, char*, file_attributes*)':
adaint.c:1022:20: error: aggregate 'stat64 statbuf' has incomplete
type and cannot be defined
   GNAT_STRUCT_STAT statbuf;
                    ^
adaint.c:1027:35: error: 'fstat64' was not declared in this scope
     ret = GNAT_FSTAT (fd, &statbuf);

Again, this appears to be the gcc crew making incorrect assumptions
about the content of the C runtime libray used by the building
compiler. In this case, the assumption is (at least) that there is
an fstat64 defined and that the header files define structure named
stat64. It appears that I need to make a detailed analysis of just
exactly what is in mingwrt-3.21, as the best solution to this is
probably going to be the creation of a mingwrt-3.22 that has the
missing pieces.

It might be better to discuss the details on the
MinGW-dvlpr list; is anybody here reading it? 

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
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.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe

Kulanthaivel, Konguraj | 23 Apr 23:19 2015
Picon

Mingw for windows mobile 8.1 or 10

Hi,

I am new to mingw. I want compile some hello world console app and metro app using mingw tool kit for Windows mobile platform. will current version of the mingw make support for  windows mobile platform(8.1 or 10 version)

 

Regards

Raj

 

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
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.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe

Gmane