Re: [Mingw-w64-public] Mingw toolchains and Clang

2014-01-15 Thread Baruch Burstein
On Wed, Jan 15, 2014 at 7:36 PM, Alexey Pavlov wrote: > Long time ago we add possibility to build Clang into mingw-builds scripts. > Now we want to provide Clang builds for mingw-w64 toolchains. > > There are two possibilities that we can do: > *1. *Include clang builds into toolchain archive > *

Re: [Mingw-w64-public] Newest Win-Builds Package Mingw64 Dev

2014-01-15 Thread wynfield
Adrien Nader wrote: ... snipped part > Hmm, I'm sorry if I didn't make it clear: all the fixes for installation > under cygwin and XP have been merged. If you download > http://win-builds.org/stable/win-builds-bundle-1.3.0.zip and use its > files, you should have nothing to do besides running >

Re: [Mingw-w64-public] Macro 'WIN32' not defined when specify -std=c++11

2014-01-15 Thread K. Frank
Hi Leopold! On Wed, Jan 15, 2014 at 8:25 PM, Leopold Freeman <> wrote: > Hi there, > > I wrote a simple test program: > > / > #include > using namespace std; > int main() > { > #if defined(WIN32) >

[Mingw-w64-public] Macro 'WIN32' not defined when specify -std=c++11

2014-01-15 Thread Leopold Freeman
Hi there, I wrote a simple test program: / #include using namespace std; int main() { #if defined(WIN32) cout << "WIN32" << endl; #else cout << "no WIN32" << endl; #endif

Re: [Mingw-w64-public] Newest Win-Builds Package Mingw64 Dev

2014-01-15 Thread wynfield
Adrien Nader wrote: .. skipped for brevity ... > > You've actually made me notice an issue with the cygwin/msys > installer: it doesn't copy bsdtar and wget to bin/ (and liblzma). > When you say specify the bin/directory, I suppose you mean /opt/windows_32/bin because if you c

Re: [Mingw-w64-public] Newest Win-Builds Package Mingw64 Dev

2014-01-15 Thread Adrien Nader
On Wed, Jan 15, 2014, wynfi...@gmail.com wrote: > > I'm putting together a script that will install Win-Builds for me on a cygwin > based platform. It is not completed because there are a few details I am > blurred about and I'm not sure what changes have been incorporated into the > recent sc

Re: [Mingw-w64-public] Mingw toolchains and Clang

2014-01-15 Thread Ruben Van Boxem
2014/1/15 Óscar Fuentes > Alexey, > > Alexey Pavlov writes: > > > Long time ago we add possibility to build Clang into mingw-builds > scripts. > > Now we want to provide Clang builds for mingw-w64 toolchains. > > > > There are two possibilities that we can do: > > *1. *Include clang builds into

Re: [Mingw-w64-public] Cross compiling the compiler on Linux

2014-01-15 Thread Adrien Nader
On Wed, Jan 15, 2014, Peter Kümmel wrote: > On 15.01.2014 10:08, Adrien Nader wrote: > >> I like the idea to build everything from scratch. Do you know > >> www.buildroot.org ? > >> It's Makefile based, with embedded systems as targets, not sure if > >> win32 would be too exotic. > > > > I didn't k

Re: [Mingw-w64-public] Mingw toolchains and Clang

2014-01-15 Thread Óscar Fuentes
Alexey, Alexey Pavlov writes: > Long time ago we add possibility to build Clang into mingw-builds scripts. > Now we want to provide Clang builds for mingw-w64 toolchains. > > There are two possibilities that we can do: > *1. *Include clang builds into toolchain archive Please don't. Clang is ex

Re: [Mingw-w64-public] Mingw toolchains and Clang

2014-01-15 Thread TOCK Chiu
2014/1/16 Alexey Pavlov > Long time ago we add possibility to build Clang into mingw-builds scripts. > Now we want to provide Clang builds for mingw-w64 toolchains. > > There are two possibilities that we can do: > *1. *Include clang builds into toolchain archive > *2.* Provide separate builds of

[Mingw-w64-public] Mingw toolchains and Clang

2014-01-15 Thread Alexey Pavlov
Long time ago we add possibility to build Clang into mingw-builds scripts. Now we want to provide Clang builds for mingw-w64 toolchains. There are two possibilities that we can do: *1. *Include clang builds into toolchain archive *2.* Provide separate builds of GCC+Clang I have a question to user

[Mingw-w64-public] Converting header files from ReactOS

2014-01-15 Thread Sergei Antonov
Hello! A number of header files in x86_64-w64-mingw32\include were transferred from ReactOS. I'd like transfer some more. In order to do so files have to be adopted, see the example. ReactOS ntddk.h: typedef VOID (NTAPI *PDRIVER_REINITIALIZE)( _In_ struct _DRIVER_OBJECT *DriverObject, _In_opt_

[Mingw-w64-public] Newest Win-Builds Package Mingw64 Dev

2014-01-15 Thread wynfield
I'm putting together a script that will install Win-Builds for me on a cygwin based platform. It is not completed because there are a few details I am blurred about and I'm not sure what changes have been incorporated into the recent scripts or programs. FIRST:It is inconvenient to have

Re: [Mingw-w64-public] Cross compiling the compiler on Linux

2014-01-15 Thread Peter Kümmel
On 15.01.2014 10:08, Adrien Nader wrote: >> I like the idea to build everything from scratch. Do you know >> www.buildroot.org ? >> It's Makefile based, with embedded systems as targets, not sure if >> win32 would be too exotic. > > I didn't know of buildroot back when I started. I think that when

Re: [Mingw-w64-public] Cross compiling the compiler on Linux

2014-01-15 Thread Adrien Nader
On Tue, Jan 14, 2014, Peter Kümmel wrote: > On 13.01.2014 18:21, Adrien Nader wrote: > > On Mon, Jan 13, 2014, Peter Kümmel wrote: > >> What's mingw-w64's "state-of-the-art" way of cross compiling on Linux > >> (Ubuntu)? > > > > As Ruben pointed out, you can use the binaries from your distribution