Re: [Mingw-w64-public] x64 can't cast ptr to DWORD

2010-02-21 Thread Alon Bar-Lev
Something like: ((void*)0)+dw On Mon, Feb 22, 2010 at 1:30 AM, Jim Michaels wrote: > > > it's 32-bit windows 9x code, but the target is 64-bit, so I have to disable > the 9x code. > I found a workaround on the internet (great place to look for solutions): > #if !defined(_WIN64) > ...//win9x code

Re: [Mingw-w64-public] Fwd: MinGW-w64

2010-02-21 Thread NightStrike
Done On Sun, Feb 21, 2010 at 9:51 PM, Chris Sutcliffe wrote: >> Sure, just give me a link and the desired text. > > Emerge Desktop - http://emergedesktop.org > > Thank you! > > Chris > > -- > Chris Sutcliffe > http://emergedesktop.org > http://www.google.com/profiles/ir0nh34d > -

Re: [Mingw-w64-public] Fwd: MinGW-w64

2010-02-21 Thread Chris Sutcliffe
> Sure, just give me a link and the desired text. Emerge Desktop - http://emergedesktop.org Thank you! Chris -- Chris Sutcliffe http://emergedesktop.org http://www.google.com/profiles/ir0nh34d -- Download Intel® Paral

Re: [Mingw-w64-public] Fwd: MinGW-w64

2010-02-21 Thread NightStrike
Sure, just give me a link and the desired text. On Sun, Feb 21, 2010 at 9:18 PM, Jarrod Chesney wrote: > Hi Nightstrike > Can you please action this. > > Begin forwarded message: > > From: Chris Sutcliffe > Date: 22 February 2010 12:17:16 PM AEST > To: Jarrod Chesney > Subject: Re: MinGW-w64 >

[Mingw-w64-public] Fwd: MinGW-w64

2010-02-21 Thread Jarrod Chesney
Hi Nightstrike Can you please action this. Begin forwarded message: > From: Chris Sutcliffe > Date: 22 February 2010 12:17:16 PM AEST > To: Jarrod Chesney > Subject: Re: MinGW-w64 > > Hi Jarrod, > >>Would you mind if EmergeDesktop was added to the list of projects >> using mi

Re: [Mingw-w64-public] x64 can't cast ptr to DWORD

2010-02-21 Thread NightStrike
You should be able to use the same code for both if you use DWORD_PTR On Sun, Feb 21, 2010 at 6:30 PM, Jim Michaels wrote: > > > it's 32-bit windows 9x code, but the target is 64-bit, so I have to disable > the 9x code. > I found a workaround on the internet (great place to look for solutions): >

Re: [Mingw-w64-public] common compiler #defines for cross-platform/compiler code

2010-02-21 Thread JonY
On 2/22/2010 07:59, Jim Michaels wrote: > compiler-defined #defines so you can write cross-platform code better. > one source code, multiple targets (djgpp, 9x/me, nt-family, vista/7). > > I have a web page with a g++ wrapper batch file that makes vista/7-compatible > code by adding a manifest XML

[Mingw-w64-public] common compiler #defines for cross-platform/compiler code

2010-02-21 Thread Jim Michaels
compiler-defined #defines so you can write cross-platform code better. one source code, multiple targets (djgpp, 9x/me, nt-family, vista/7). I have a web page with a g++ wrapper batch file that makes vista/7-compatible code by adding a manifest XML windows resource, which you supply parameters.

[Mingw-w64-public] x64 can't cast ptr to DWORD

2010-02-21 Thread Jim Michaels
it's 32-bit windows 9x code, but the target is 64-bit, so I have to disable the 9x code. I found a workaround on the internet (great place to look for solutions): #if !defined(_WIN64) ...//win9x code #endif From: Ozkan Sezer To: Jim Michaels Cc: mingw64

Re: [Mingw-w64-public] i686-w64-mingw32 and x86_64-w64-mingw32 coexisting

2010-02-21 Thread NightStrike
On Sun, Feb 21, 2010 at 9:56 AM, JonY wrote: > On 2/21/2010 21:35, NightStrike wrote: >> >> On Fri, Jan 15, 2010 at 8:32 AM, Chris Sutcliffe >>  wrote: >>> >>> Hi All, >>> >>> Is it possible for i686-w64-mingw and x86_64-w64-mingw32 to coexist in >>> the same directory?  I realize the majority of

Re: [Mingw-w64-public] i686-w64-mingw32 and x86_64-w 64-mingw32 coexisting

2010-02-21 Thread Doug Semler
On Sun, 21 Feb 2010 09:56:46 JonY wrote: > On 2/21/2010 21:35, NightStrike wrote: > > On Fri, Jan 15, 2010 at 8:32 AM, Chris Sutcliffe wrote: > >> Hi All, > >> > >> Is it possible for i686-w64-mingw and x86_64-w64-mingw32 to coexist in > >> the same directory? I realize the majority of the dire

Re: [Mingw-w64-public] i686-w64-mingw32 and x86_64-w64-mingw32 coexisting

2010-02-21 Thread JonY
On 2/21/2010 21:35, NightStrike wrote: > On Fri, Jan 15, 2010 at 8:32 AM, Chris Sutcliffe wrote: >> Hi All, >> >> Is it possible for i686-w64-mingw and x86_64-w64-mingw32 to coexist in >> the same directory? I realize the majority of the directory structure >> is unique to the compiler, but thing

Re: [Mingw-w64-public] i686-w64-mingw32 and x86_64-w64-mingw32 coexisting

2010-02-21 Thread NightStrike
On Fri, Jan 15, 2010 at 8:32 AM, Chris Sutcliffe wrote: > Hi All, > > Is it possible for i686-w64-mingw and x86_64-w64-mingw32 to coexist in > the same directory?  I realize the majority of the directory structure > is unique to the compiler, but things like libiberty.a are in the > 'lib' director