EPICS Home

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: Building gdd on windows-x64 targets
From: Andrew Johnson <[email protected]>
To: "EPICS core-talk" <[email protected]>
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  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
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  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024