Re: Compiling GDC-MinGW

2013-03-11 Thread Daniel Green
On 3/10/2013 12:08 PM, Benjamin Thaut wrote: >> So now it actually compiles all the way through, but failes while >> linking: >> >> C:\crossdev\MinGW64\x86_64-w64-mingw32\bin\ld.exe: skipping incompatible >> C:/crossdev/gdc64/v2/build/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs\libstdc++.a >

Re: Compiling GDC-MinGW

2013-03-10 Thread Benjamin Thaut
Am 10.03.2013 12:12, schrieb Benjamin Thaut: Am 09.03.2013 15:00, schrieb Daniel Green: I managed to exactly reproduce the error by setting gcc/d/lang.opt to CRLF line endings. You need to make sure everything is LF line endings. I've set a .gitattributes file which hopefully will fix this for

Re: Compiling GDC-MinGW

2013-03-10 Thread Benjamin Thaut
Am 09.03.2013 15:00, schrieb Daniel Green: I managed to exactly reproduce the error by setting gcc/d/lang.opt to CRLF line endings. You need to make sure everything is LF line endings. I've set a .gitattributes file which hopefully will fix this for future checkouts. So now it actually com

Re: Compiling GDC-MinGW

2013-03-09 Thread Daniel Green
I managed to exactly reproduce the error by setting gcc/d/lang.opt to CRLF line endings. You need to make sure everything is LF line endings. I've set a .gitattributes file which hopefully will fix this for future checkouts.

Re: Compiling GDC-MinGW

2013-03-09 Thread Benjamin Thaut
Am 09.03.2013 12:51, schrieb Daniel Green: On 3/9/2013 5:06 AM, Benjamin Thaut wrote: Ok, the new build script solved a lot of issues. Unforunately the multiline-stirng issue in options.c remains. Are you sure that you are not using a 3.x.x gcc? If you follow the build script you'll see it extr

Re: Compiling GDC-MinGW

2013-03-09 Thread Daniel Green
On 3/9/2013 5:06 AM, Benjamin Thaut wrote: Ok, the new build script solved a lot of issues. Unforunately the multiline-stirng issue in options.c remains. Are you sure that you are not using a 3.x.x gcc? If you follow the build script you'll see it extracts the TDM 4.6.1 binary and forces that du

Re: Compiling GDC-MinGW

2013-03-09 Thread Benjamin Thaut
Am 08.03.2013 20:08, schrieb Daniel Green: I've pushed updates that fix the sqlite issue as well as a few other minor adjustments to the build process. I'll look into the tlssup.c.patch issue soon. On 3/8/2013 5:55 AM, Benjamin Thaut wrote: So I completely reinstalled MinGW. Now the patch corr

Re: Compiling GDC-MinGW

2013-03-08 Thread Daniel Green
I've pushed updates that fix the sqlite issue as well as a few other minor adjustments to the build process. I'll look into the tlssup.c.patch issue soon. On 3/8/2013 5:55 AM, Benjamin Thaut wrote: So I completely reinstalled MinGW. Now the patch correctly applies, but now make will freeze in

Re: Compiling GDC-MinGW

2013-03-08 Thread Benjamin Thaut
So I completely reinstalled MinGW. Now the patch correctly applies, but now make will freeze in random places of the build process. It will just hang there with 13% cpu usage and will never continue. Kind Regards Benjamin Thaut

Re: Compiling GDC-MinGW

2013-03-07 Thread Benjamin Thaut
Also its the tlssup.c.patch that failes. I told you wrong the last time. LF / CRLF does not make any difference though Are you using patch of mingw-msys? Or are you running the script from within the git-msys shell? Kind Regards Benjamin Thaut

Re: Compiling GDC-MinGW

2013-03-07 Thread Benjamin Thaut
Am 07.03.2013 17:42, schrieb Daniel Green: The crossdev directory is important because GCC is being called natively and it allows paths to match up. Otherwise /crossdev becomes /mingw/msys/1.0/crossdev which causes all sorts of mayhem. That said, as long as you are building on F:\ it there shou

Re: Compiling GDC-MinGW

2013-03-07 Thread Daniel Green
The crossdev directory is important because GCC is being called natively and it allows paths to match up. Otherwise /crossdev becomes /mingw/msys/1.0/crossdev which causes all sorts of mayhem. That said, as long as you are building on F:\ it there shouldn't be an issue. On 3/6/2013 2:55 PM,

Re: Compiling GDC-MinGW

2013-03-06 Thread Benjamin Thaut
Am 06.03.2013 21:42, schrieb Daniel Green: On 3/6/2013 12:45 PM, Benjamin Thaut wrote: Well I did compile 0.11. I just used your build-tdm-gcc.sh which downloads and compiles 0.11. I fixed this issue by opening crossdev\src\ppl-0.11\Watchdog\src\pwl.hh.dist and setting PWL_HAVE_DECL_SETITIMER to

Re: Compiling GDC-MinGW

2013-03-06 Thread Daniel Green
On 3/6/2013 12:45 PM, Benjamin Thaut wrote: Well I did compile 0.11. I just used your build-tdm-gcc.sh which downloads and compiles 0.11. I fixed this issue by opening crossdev\src\ppl-0.11\Watchdog\src\pwl.hh.dist and setting PWL_HAVE_DECL_SETITIMER to 0. That shouldn't be necessary. It may hav

Re: Compiling GDC-MinGW

2013-03-06 Thread Benjamin Thaut
Am 06.03.2013 18:00, schrieb Daniel Green: On 3/5/2013 2:02 PM, Benjamin Thaut wrote: Ok I just tested it with vanialla mingw, same problem itimerval is not defined in any of the mingw headers and thus compilation of ppl will fail. It looks like a configuration issue when compiling PPL. itime

Re: Compiling GDC-MinGW

2013-03-06 Thread Daniel Green
On 3/5/2013 2:02 PM, Benjamin Thaut wrote: Ok I just tested it with vanialla mingw, same problem itimerval is not defined in any of the mingw headers and thus compilation of ppl will fail. It looks like a configuration issue when compiling PPL. itimerval looks POSIX only. Which version did

Re: Compiling GDC-MinGW

2013-03-05 Thread Benjamin Thaut
Ok I just tested it with vanialla mingw, same problem itimerval is not defined in any of the mingw headers and thus compilation of ppl will fail. Kind Regards Benjamin Thaut

Re: Compiling GDC-MinGW

2013-03-05 Thread Benjamin Thaut
Am 05.03.2013 10:54, schrieb Daniel Green: On 3/4/2013 12:49 PM, Benjamin Thaut wrote: when building ppl I get the error message "'itimerval' does not name a type". Is this a known issue too? I don't believe I've ran into that specific problem. What more can you tell me about the build enviro

Re: Compiling GDC-MinGW

2013-03-05 Thread Daniel Green
On 3/4/2013 12:49 PM, Benjamin Thaut wrote: when building ppl I get the error message "'itimerval' does not name a type". Is this a known issue too? I don't believe I've ran into that specific problem. What more can you tell me about the build environment/error generated?

Re: Compiling GDC-MinGW

2013-03-04 Thread Benjamin Thaut
Ok next problem, when building ppl I get the error message "'itimerval' does not name a type". Is this a known issue too? Kind Regards Benjamin Thaut

Re: Compiling GDC-MinGW

2013-03-04 Thread Benjamin Thaut
Am 03.03.2013 23:25, schrieb jerro: On Sunday, 3 March 2013 at 21:47:16 UTC, Benjamin Thaut wrote: So I'm trying to build GDC-MinGW from source and I'm running into an issue. The configure script of the ppl-tdm64 gets stuck after printing "checking if the compiler has the remainder bug..." the c

Re: Compiling GDC-MinGW

2013-03-03 Thread jerro
On Sunday, 3 March 2013 at 21:47:16 UTC, Benjamin Thaut wrote: So I'm trying to build GDC-MinGW from source and I'm running into an issue. The configure script of the ppl-tdm64 gets stuck after printing "checking if the compiler has the remainder bug..." the conf exectuable executes with 13% cp

Compiling GDC-MinGW

2013-03-03 Thread Benjamin Thaut
So I'm trying to build GDC-MinGW from source and I'm running into an issue. The configure script of the ppl-tdm64 gets stuck after printing "checking if the compiler has the remainder bug..." the conf exectuable executes with 13% cpu usage forever. What I did to compile GDC-Mingw: Install tdm-