EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Building gdd on windows-x64 targets
From: Michael Davidsaver <[email protected]>
To: [email protected]
Date: Mon, 30 Jul 2012 18:09:03 -0400
Andrew,

I assume you are referring to the gdd::convertOffsetsToAddress? At a glance that is all I see (involving unsigned long at least). Is there more?

I don't have access to a win64 system, but if you send me the log of build errors I'll help if I can.

Michael

On 7/30/2012 5:46 PM, Andrew Johnson wrote:
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


Replies:
Re: Building gdd on windows-x64 targets Andrew Johnson
References:
Building gdd on windows-x64 targets Andrew Johnson

Navigate by Date:
Prev: Building gdd on windows-x64 targets Andrew Johnson
Next: Re: Building gdd on windows-x64 targets Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Building gdd on windows-x64 targets Andrew Johnson
Next: Re: Building gdd on windows-x64 targets Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 26 Nov 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·