Re: [Mingw-w64-public] adding dos stub program with ld to PE binary

2014-12-05 Thread Kai Tietz
2014-12-05 6:45 GMT+01:00 bulk88 bul...@hotmail.com: What is the GCC ld equivalent of Visual C's -stub ? http://msdn.microsoft.com/en-us/library/7z0585h5.aspx I need to add a MZ header-ed dos program to my PE binary instead of the default This program cannot be run in DOS mode program. Hmm,

[Mingw-w64-public] multi-target MSYS patch available

2014-12-05 Thread Jim Michaels
https://sourceforge.net/p/mingw-w64/patches/71/ is pi.sh is required to work with mingw, please let me know and I will see about finishing my changes to it. I was enhancing it (though it's not used with mingw-w64). I think I lost a fair amount of changes during a forced reboot process to pi.sh.

[Mingw-w64-public] Dongsheng Daily bugs, MSYS shell bug

2014-12-05 Thread Jim Michaels
Dongsheng Daily from 5.0.0 20141114 onward: 1. algorithm and iostream missing from 5.0.0: list-search-bars.cpp:16:20: fatal error: iostream: No such file or directory d:\prj\lib\strfuncs\strfuncs.cpp:13:25: fatal error: algorithm: No such file or directory 2. PathFileExists is in ShlWapi.h but

Re: [Mingw-w64-public] adding dos stub program with ld to PE binary

2014-12-05 Thread bulk 88
Date: Fri, 5 Dec 2014 09:49:55 +0100 From: ktiet...@googlemail.com To: mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64-public] adding dos stub program with ld to PE binary 2014-12-05 6:45 GMT+01:00 bulk88 bul...@hotmail.com: What is the GCC ld equivalent of Visual C's

[Mingw-w64-public] bug in ftream RE: .tellg() and .seekg()

2014-12-05 Thread Jim Michaels
the code I have is large. what is does is open a text filesave the position from .tellg() read through a file using .getline() until it hits .eof() and then it does an i.seekg() to the saved position (which I found out originally was 0).but apparently after the seekg, itellg reports -1. this is

[Mingw-w64-public] [ANN] Win-builds 1.5-rc2 - simpler, more packages, GUI package manager

2014-12-05 Thread Adrien Nader
Hi, A new release candidate for Win-builds 1.5 is available. The focus for this 1.5 version has been simplicity and stability while also updating packages and adding new ones. Compared to RC1, this release is almost exclusively made up of bugfixes. The only notable exception is with the GTK+ 2

Re: [Mingw-w64-public] bug in ftream RE: .tellg() and .seekg()

2014-12-05 Thread lh_mouse
This is not mingw-w64 related stuff. I suggest you ask it in the correct ML next time. ISO C++ N3936 ยง 27.7.2.3 Unformatted input functions pos_type tellg(); 40 Returns: After constructing a sentry object, if fail() != false, returns pos_type(-1) to indicate failure. Otherwise, returns