[Mingw-w64-public] Missing directory dependency breaks parallel crt build

2015-06-10 Thread Luke Allardyce
Building the crt with -j4 or higher fails when make executes the recipe for lib64/msvcrt.def. Creating the lib64 dir (or lib32 for i686) before running make fixes the issue. -- _

Re: [Mingw-w64-public] building winpthreads dll fails when building cross compiler

2015-05-08 Thread Luke Allardyce
It turns out the flag was specified incorrectly, libtool apparently requires compiler options to be prefixed with -Wc, the attached patch fixes the issue. On 8 May 2015 at 14:31, Luke Allardyce wrote: > One of the commits for Makefile.am has > > winpthreads doesn't depend on libpth

Re: [Mingw-w64-public] building winpthreads dll fails when building cross compiler

2015-05-07 Thread Luke Allardyce
reads now uses that to link, and we can thusly remove the fake libpthread from the build entirely. On 8 May 2015 at 14:25, LRN wrote: > On 08.05.2015 8:13, Luke Allardyce wrote: >> When building winpthreads as part of a cross compiler I found that the >> dll won't compile as t

[Mingw-w64-public] building winpthreads dll fails when building cross compiler

2015-05-07 Thread Luke Allardyce
When building winpthreads as part of a cross compiler I found that the dll won't compile as the -no-pthread flag isn't passed to gcc /bin/sh ./libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -DWIN32_LEAN_AND_MEAN -g -O2 -no-undefined -version-info 1:0:0 -L./fakelib -no-pthread -o lib

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

2014-12-06 Thread Luke Allardyce
You cannot reliably use the return value of tellg for a file with windows-style endlines opened in text mode due to the following bug https :// gcc.gnu.org