Re: [Mingw-w64-public] finding the data file

2015-06-18 Thread Jose Alf.
You can get rid of the environment variable using a win32 api call as explained here: http://stackoverflow.com/questions/2647429/c-windows-path-to-the-folder-where-the-executable-is-located On Thursday, June 18, 2015 4:45 PM, Hotmail (ArbolOne) wrote: I found the solution, the ans

Re: [Mingw-w64-public] finding the data file

2015-06-18 Thread Hotmail (ArbolOne)
I found the solution, the answer to my problem is getenv("ARBOLONE") Thanks folks -Original Message- From: Max S. Sent: Thursday, June 18, 2015 5:12 PM To: Hotmail (ArbolOne) Cc: MinGW-64 Mailinglist ; gcc-help Mailing List Subject: Re: finding the data file I'm not a win user, but it l

Re: [Mingw-w64-public] finding the data file

2015-06-18 Thread Hotmail (ArbolOne)
I found the solution, the answer to my problem is getenv("ARBOLONE") Thanks folks -Original Message- From: Hotmail (ArbolOne) Sent: Thursday, June 18, 2015 4:15 PM To: MinGW-64 Mailinglist ; gcc-help Mailing List Subject: [Mingw-w64-public] finding the data file This question is exclusi

[Mingw-w64-public] finding the data file

2015-06-18 Thread Hotmail (ArbolOne)
This question is exclusively for Win users. OK, having said that, I have a desktop and a laptop. In the desktop I use MinGW64 and the GCC compier as well as CodeBlock, but on the laptop I use VS2015 and VC++. In my desktop I wrote a program that plays a sound file, the structure of the file dire

Re: [Mingw-w64-public] Mingw-64 and MSVC x64 ABI

2015-06-18 Thread Adrien Nader
Hi, On Thu, Jun 18, 2015, lh_mouse wrote: > g++ and clang++ use Itanium ABI while MSVC uses some M$ specific, unpublished > ABI. Hence it is not surprising that they are incompatible with each other. As far as I know, GCC is very close to MSVC's C++ ABI currently and only one or two things are d

Re: [Mingw-w64-public] Mingw-64 and MSVC x64 ABI

2015-06-18 Thread Alexandre Pereira Nunes
If GCC is able to interoperate with simple vtables in 32-bits, as you say, then perhaps it's only a matter of setting some options. gcc manual (IIRC) says that you need -maccumulate-outgoing-args -mabi=ms on x86_64 for microsoft abi compatibility (while -mabi=ms suffices in 32-bit). -mabi=ms is sup

[Mingw-w64-public] [PATCH] sec_api/stdio_s.h: Remove duplicate declaration of _wfopen_s.

2015-06-18 Thread NAKAI Yuta
hi, _wfopen_s is also declared at L134. 0001-sec_api-stdio_s.h-Remove-duplicate-declaration-of-_w.patch Description: Binary data -- ___

[Mingw-w64-public] [AD] UltraGDB-1.0.1 is now available, for FREE

2015-06-18 Thread Xu,Chiheng
Hi, folks, UltraGDB-1.0.1 is now available for FREE. On user's request, we now provide 32-bit version of installers. We also tested our product on 64-bit and 32-bit Windows 7, Fedora-22-Workstation and ubuntu-15.04-desktop. We now have install instruction on our website. Download and enjoy ! htt