Re: [Mingw-w64-public] Error cross building LLVM for MinGW

2016-02-18 Thread Richard Pennington
On 02/17/2016 06:01 PM, Óscar Fuentes wrote: Apparently you are wrapping the MinGW-64 toolset with your own application. At this point I can't help you any further, except suggesting to try the cross-compilation with a tool chain file that points to the MinGW-w64 toolset. Here is a very old one o

Re: [Mingw-w64-public] Error cross building LLVM for MinGW

2016-02-17 Thread Óscar Fuentes
Richard Pennington writes: > On 02/17/2016 04:21 PM, Óscar Fuentes wrote: >> Showing the cmake invocation you used for configuring the build would >> help. If you use a Toolchain-*.cmake file for describing the >> cross-tools to cmake, please show that too. >> > I don't use a tool chain file. I r

Re: [Mingw-w64-public] Error cross building LLVM for MinGW

2016-02-17 Thread Richard Pennington
On 02/17/2016 04:21 PM, Óscar Fuentes wrote: > Showing the cmake invocation you used for configuring the build would > help. If you use a Toolchain-*.cmake file for describing the > cross-tools to cmake, please show that too. > I don't use a tool chain file. I run cmake like this: CC=/home/rich/el

Re: [Mingw-w64-public] Error cross building LLVM for MinGW

2016-02-17 Thread Óscar Fuentes
Richard Pennington writes: > It is set up to use the host built version of tblgen. The mingw-w64 > build is the last one I tried after having done cross builds for ARM and > MIPS Linux. > This is the first time I've used cmake to build rather than autotools. I > suspect I'm not setting up some

Re: [Mingw-w64-public] Error cross building LLVM for MinGW

2016-02-17 Thread Richard Pennington
On 02/17/2016 03:42 PM, Óscar Fuentes wrote: > Richard Pennington > writes: > >> I recently switched over to using cmake to build my clang/LLVM based >> ELLCC cross development project (http://ellcc.org). I also recently >> updated to LLVM svn version 258915 from 258477. >> >> I use ELLCC to cross

Re: [Mingw-w64-public] Error cross building LLVM for MinGW

2016-02-17 Thread Óscar Fuentes
Richard Pennington writes: > I recently switched over to using cmake to build my clang/LLVM based > ELLCC cross development project (http://ellcc.org). I also recently > updated to LLVM svn version 258915 from 258477. > > I use ELLCC to cross compile all the tools for various Linux targets > and

[Mingw-w64-public] Error cross building LLVM for MinGW

2016-02-17 Thread Richard Pennington
Hi, I asked this on the LLVM lists, but thought I'd ask here also. I use a clang based tool chain with the mingw-w64 header files and libraries to build itself for Windoes. I recently switched over to using cmake to build my clang/LLVM based ELLCC cross development project (http://ellcc.org)