g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: Building gdd on windows-x64 targets
From: Andrew Johnson <anj@aps.anl.gov>
To: "EPICS core-talk" <core-talk@aps.anl.gov>
Date: Mon, 30 Jul 2012 16:46:27 -0500
It does not appear to be possible to compile gdd for the windows-x64-mingw 
target, and Janet is seeing various other problems when building other 64-bit 
Windows targets (although the native compiler may work).

Windows-64 follows the LLP64 model where pointers and 'long long' integers are 
64 bits wide.  The code in gdd seems to be freely casting between unsigned 
long integers and pointers, which are different widths on LLP64; the MinGW 
compiler (GCC) is more strict than the Microsoft compiler and it rejects those 
casts when compiling gdd.cc (I don't know whether that code actually works or 
not when built for 64-bit with the Microsoft compiler).

Suggestions for solutions are welcome.

- Andrew
-- 
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte

Replies:
Re: Building gdd on windows-x64 targets Michael Davidsaver

Navigate by Date:
Prev: Re: epicsEvent semantics Andrew Johnson
Next: Re: Building gdd on windows-x64 targets Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
Navigate by Thread:
Prev: Re: epicsEvent semantics Andrew Johnson
Next: Re: Building gdd on windows-x64 targets Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
ANJ, 26 Nov 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·