[Mingw-w64-public] Could you recommend an alternative for the missing unwind library in i686-w64-mingw32-gcc?

2014-10-24 Thread Barnaby Jones
Here is a short example program that I try to compile (and it works for x86_64) $ cat thex.c # #include #include #include struct myException { int a; int b; struct _Unwind_Exception unwindHeader; }; int main() { struct myException *myEx = calloc( 1, sizeof(struct

Re: [Mingw-w64-public] CMake Toolcahin for linux/clang 3.6

2014-10-20 Thread Barnaby Jones
Thank you for this information. On 20.10.2014 17:27, Adrien Nader wrote: > On Mon, Oct 20, 2014, Óscar Fuentes wrote: >> Ruben Van Boxem >> writes: >> As stated, the problem is not related to MinGW-w64, it is about how you configure the CMake/Clang combo for cross-compiling. >>> I beg

Re: [Mingw-w64-public] CMake Toolcahin for linux/clang 3.6

2014-10-20 Thread Barnaby Jones
Many thanks for your help. I already read a lot of your useful posts and comments. I will try to apply your patch on my local clang build. On 20.10.2014 16:31, Ruben Van Boxem wrote: > 2014-10-20 16:19 GMT+02:00 Óscar Fuentes <mailto:o...@wanadoo.es>>: > > Barnaby Jones >

Re: [Mingw-w64-public] CMake Toolcahin for linux/clang 3.6

2014-10-20 Thread Barnaby Jones
make[1]: *** [cmTryCompileExec427134963.exe] Error 1 make[1]: Leaving directory '/home/barnaby/Dokumente/sourceProjects/gnustep/libobjc2/build/CMakeFiles/CMakeTmp' Makefile:118: recipe for target 'cmTryCompileExec427134963/fast' failed make: *** [cmTryCompileExec427134963/

Re: [Mingw-w64-public] CMake Toolcahin for linux/clang 3.6

2014-10-20 Thread Barnaby Jones
Im currently using clang cross compilation. Is it possible/advisable to compile clang for wine? On 20.10.2014 15:38, Ruben Van Boxem wrote: > 2014-10-20 15:25 GMT+02:00 Richard Shaw : >> On Mon, Oct 20, 2014 at 8:03 AM, Barnaby Jones >> wrote: >>> SET( CMAKE_CXX_F

Re: [Mingw-w64-public] CMake Toolcahin for linux/clang 3.6

2014-10-20 Thread Barnaby Jones
ompiler: /usr/local/bin/clang -- broken CMake Error at /usr/share/cmake-3.0/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "/usr/local/bin/clang" is not able to compile a simple test program. <--- On 20.10.2014 15:25, Richard Shaw wrote: > On Mon, Oct 20, 2

[Mingw-w64-public] CMake Toolcahin for linux/clang 3.6

2014-10-20 Thread Barnaby Jones
Is it possible to use clang3.6 with cmake to create mingw64 builds? I tried to modify the toolchain from ubuntu/mingw: set(CMAKE_SYSTEM_NAME Windows) set(TOOLCHAIN_PREFIX i686-w64-mingw32) set(CMAKE_SYSTEM_PROCESSOR i686) # mingw64 gcc setup #set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc) #set(CM