Re: [Mingw-w64-public] Exported symbols of import .lib are influenced by the .def file

2023-05-04 Thread Kacvinsky, Tom
Hi again, > > Yes, but that is an ABI change, on what is supposed to be a > > standardized interface. They can't just break all existing callers > > who expect the calling convention to be stdcall. > > > > I think the only way is to have separate def files for x86 and > > everything else. Does

Re: [Mingw-w64-public] Exported symbols of import .lib are influenced by the .def file

2023-05-04 Thread Kacvinsky, Tom
Hi again, > -Original Message- > From: Kacvinsky, Tom > Sent: Thursday, May 4, 2023 12:45 PM > To: mingw-w64-public@lists.sourceforge.net > Subject: RE: [Mingw-w64-public] Exported symbols of import .lib are > influenced by the .def file > > Hi Luca, >

Re: [Mingw-w64-public] Exported symbols of import .lib are influenced by the .def file

2023-05-04 Thread Kacvinsky, Tom
Hi Luca, > -Original Message- > From: Luca Bacci > Sent: Thursday, May 4, 2023 11:38 AM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] Exported symbols of import .lib are > influenced by the .def file > > Thanks for the response, Tom! > > Yes, that would

Re: [Mingw-w64-public] Exported symbols of import .lib are influenced by the .def file

2023-05-04 Thread Kacvinsky, Tom
> -Original Message- > From: Luca Bacci > Sent: Thursday, May 4, 2023 10:50 AM > To: mingw-w64-public@lists.sourceforge.net > Subject: [Mingw-w64-public] Exported symbols of import .lib are influenced > by the .def file > > Hello! we're observing a problem when compiling x86 DLLs

Re: [Mingw-w64-public] Patches for GCC

2021-11-11 Thread Kacvinsky, Tom
eption handling. Thanks, TOm From: Kacvinsky, Tom Sent: Thursday, November 4, 2021 10:46 PM To: 'mingw-w64-public@lists.sourceforge.net' Subject: RE: Patches for GCC I think this is it https://github.com/msys2/MINGW-packages Tom P.S. - I would bottom post but Outlook is being a pain with q

Re: [Mingw-w64-public] Internal compiler error building mingw-w64-crt (default msvcrt is ucrt)

2021-11-09 Thread Kacvinsky, Tom
Weird, running make without the -j option magically "fixed" the error. Not sure why. From: Kacvinsky, Tom Sent: Tuesday, November 9, 2021 6:32 PM To: mingw-w64-public@lists.sourceforge.net Subject: Internal compiler error building mingw-w64-crt (default msvcrt is ucrt) I am buil

[Mingw-w64-public] Internal compiler error building mingw-w64-crt (default msvcrt is ucrt)

2021-11-09 Thread Kacvinsky, Tom
I am building (once again) a GCC with UCRT support, this time using the UCRT64 tool chain that I was able to install today. I am using master of the mingw-w64 git repo, freshly updated today, but have a problem building the CRT libraries:

Re: [Mingw-w64-public] "pacman -S mingw-w64-ucrt-x86_64-toolchain" not working

2021-11-09 Thread Kacvinsky, Tom
e and > update everything. > I did that several times. What finally worked was this: I had to update /etc/pacman.conf to include the repo /etc/pacman.d/mirrorlist.ucrt64 Which, as answered above, I already have. Tom > --David Grayson > > On Tue, Nov 9, 2021 at 11:3

[Mingw-w64-public] "pacman -S mingw-w64-ucrt-x86_64-toolchain" not working

2021-11-09 Thread Kacvinsky, Tom
I ran the command in the subject line, but got this: $ pacman -S mingw-w64-ucrt-x86_64-toolchain error: target not found: mingw-w64-ucrt-x86_64-toolchain Is there some repo I need to add? It's not clear from this page https://packages.msys2.org/group/mingw-w64-ucrt-x86_64-toolchain Thanks,

Re: [Mingw-w64-public] Patches for GCC

2021-11-04 Thread Kacvinsky, Tom
I think this is it https://github.com/msys2/MINGW-packages Tom P.S. - I would bottom post but Outlook is being a pain with quoting emails. From: Kacvinsky, Tom Sent: Thursday, November 4, 2021 9:12 PM To: 'mingw-w64-public@lists.sourceforge.net' Subject: Patches for GCC Hi all, I am back

[Mingw-w64-public] Patches for GCC

2021-11-04 Thread Kacvinsky, Tom
Hi all, I am back to futzing around with building GCC with UCRT support. I have run into several weird issues that I think might be fixed in patches made by the MinGW-w64 team. I know I've been able to find those patches in the past, but my Google-fu is weak and I do not see them anywhere. Any

[Mingw-w64-public] binutils 2.37, uint vs. unsigned int

2021-09-22 Thread Kacvinsky, Tom
IN my endeavors to get UCRT versions of the GCC tool chain building, I ran into a problem building binutils 2.37. The particular problem was that rust-demangle.c used uint, and that type is not defined. So what I did to work around the problem is changes uint to unsigned int. I've bounded this

Re: [Mingw-w64-public] How was binutils 2.37 configured for latest mingw-w64?

2021-09-20 Thread Kacvinsky, Tom
10:17 AM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] How was binutils 2.37 configured for latest > mingw-w64? > > Hmm seems zip is blocked ill try just attaching the scripts directly. > > Den 18-09-2021 kl. 15:06 skrev Kacvinsky, Tom: > > HI, &g

Re: [Mingw-w64-public] How was binutils 2.37 configured for latest mingw-w64?

2021-09-18 Thread Kacvinsky, Tom
0:04 AM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] How was binutils 2.37 configured for latest > mingw-w64? > > same way as the standard msys2 mingw-w64-binutils :) only the exception > model changed. > > Den 18-09-2021 kl. 15:06 skrev K

[Mingw-w64-public] How was binutils 2.37 configured for latest mingw-w64?

2021-09-18 Thread Kacvinsky, Tom
HI, I am working with Ralph's sjlj GCC tool chain, but am running into problems using that to boot strap the tool chain with UCRT support. What I have found is that crt2.o cannot be found ../../xg++ -B../../ -B../../../x86_64-w64-mingw32/libstdc++-v3/src/.libs

Re: [Mingw-w64-public] SJLJ GCC

2021-09-16 Thread Kacvinsky, Tom
Ralph, Do you have Ada support in your kit? Because I am going to need an Ada compiler to built the new compiler with UCRT support. Thanks, Tom > -Original Message- > From: Kacvinsky, Tom > Sent: Thursday, September 16, 2021 6:23 AM > To: 'Ralph Engels' ; ming

Re: [Mingw-w64-public] SJLJ GCC

2021-09-16 Thread Kacvinsky, Tom
> -Original Message- > From: Ralph Engels > Sent: Thursday, September 16, 2021 2:31 AM > To: mingw-w64-public@lists.sourceforge.net; Kacvinsky, Tom > > Subject: Re: [Mingw-w64-public] SJLJ GCC > > I do have a private fork of the msys2 mingw reposito

[Mingw-w64-public] SJLJ GCC

2021-09-15 Thread Kacvinsky, Tom
Hi all, I find I am in need of building a GCC with Ada and UCRT support, but this time with SJLJ exception handling instead of SEH. Does there exist a gcc package for MSYS2 that has SJLJ support? The reason I ask is the way I am building GCC with SJLJ support - in several steps so that the

Re: [Mingw-w64-public] Pathing issue

2021-06-28 Thread Kacvinsky, Tom
is invoked properly, but with the Windows style paths (with / instead of \) makes it so that gcc (as invoked from the Makefile) is not found, even though it is in the PATH as set on the DOSC command prompt. The only way I could get around it is to use Cygwin style PATHS. Thanks and regards, T

[Mingw-w64-public] Pathing issue

2021-06-23 Thread Kacvinsky, Tom
Hi, I have found an issue - perhaps a user mistake - which I need to pass Cygwin style paths to make. So instead of c:/path/to/whatever, I need to use /cygdrive/c/path/to/whatever. Is there a way of forcing GNU make on MSYS2 + MinGW-w64 to honor paths of the form the c:/path/to/whatever.

[Mingw-w64-public] windows.h brings along SSE intrinsics

2021-02-21 Thread Kacvinsky, Tom
I happened to notice that including windows.h bring along the intrinics for SSE and the like. I have checked the Windows SDK to see if it does the same thing (and read the docs for the math intrinsics #include on MSDN, and it does not. I am wondering what the rationale for this is in

Re: [Mingw-w64-public] More link errors

2021-02-08 Thread Kacvinsky, Tom
Hi, > -Original Message- > From: Kacvinsky, Tom > Sent: Monday, January 25, 2021 9:40 AM > To: 'mingw-w64-public@lists.sourceforge.net' pub...@lists.sourceforge.net> > Subject: RE: [Mingw-w64-public] More link errors > > At the bottom you'll find the

Re: [Mingw-w64-public] More link errors

2021-01-26 Thread Kacvinsky, Tom
> -Original Message- > From: Liu Hao > Sent: Monday, January 25, 2021 9:49 PM > To: mingw-w64-public@lists.sourceforge.net; Kacvinsky, Tom > > Subject: Re: [Mingw-w64-public] More link errors > > * PGP Signed by an unknown key > > 在 2021/1

Re: [Mingw-w64-public] More link errors

2021-01-25 Thread Kacvinsky, Tom
> -Original Message- > From: Ką Mykolas > Sent: Monday, January 25, 2021 9:32 AM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] More link errors > > No file attached ;) > > On Mon, Jan 25, 2021 at 4:27 PM Kacvinsk

Re: [Mingw-w64-public] More link errors

2021-01-25 Thread Kacvinsky, Tom
At the bottom you'll find the link errors I am getting > -Original Message- > From: Kacvinsky, Tom > Sent: Monday, January 25, 2021 9:37 AM > To: mingw-w64-public@lists.sourceforge.net > Subject: RE: [Mingw-w64-public] More link errors > > > > > -Orig

[Mingw-w64-public] More link errors

2021-01-25 Thread Kacvinsky, Tom
Hi, Attached is a file of the link errors I am getting. There are bunch of them. I am using the built-in specs, so the run time library I am working with is libmsvcrt.a Tom ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

[Mingw-w64-public] Missing iswcsymf

2021-01-22 Thread Kacvinsky, Tom
This code #include int main(int argc, char* argv[]) { __iswcsymf(0); return 0; } compiled with this command g++ -o test test.cpp Fails with C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\TEMP\ccmM3An6.o:test.cpp:(.text+0x1c):

[Mingw-w64-public] Missing symbol strlwr_l

2021-01-21 Thread Kacvinsky, Tom
What library is strlwr_l supposed to come from? I have a lew of link errors due to missing wide char functions, but I have not been able to figure out which library to use. I am using the most up to date MSYS2 + the package for the GCC toolchain (GCC 10.2), with no modifications, but have had

[Mingw-w64-public] FW: gprbuild for i686 tool chain bombs out

2020-10-17 Thread Kacvinsky, Tom
From: Kacvinsky, Tom Sent: Friday, October 16, 2020 10:17 AM To: 'mingw-us...@lists.sourceforge.net' Subject: RE: gprbuild for i686 tool chain bombs out HI again (so soon), From: Kacvinsky, Tom Sent: Friday, October 16, 2020 10:13 AM To: 'mingw-us...@lists.sourceforge.net' mailto:mingw-us

[Mingw-w64-public] make has messed up $(MAKE) variable

2020-03-19 Thread Kacvinsky, Tom
Not sure if this is aMinGW-w64 topic or not. I am using a Cygwin shell (can't avoid it, this is part of our Windows build process), and from that, I am invoking make as follows /make SHELL=cmd MAKEFLAGS=".SHELLFLAGS=/c" What I find is that $(MAKE) (which is used in a recursive makefile) is not

Re: [Mingw-w64-public] gettext 0.19.8.1 build error with GCC 9.2.0

2019-12-16 Thread Kacvinsky, Tom
Hi all, > -Original Message- > From: Martin Storsjö > Sent: Monday, December 16, 2019 3:36 AM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] gettext 0.19.8.1 build error with GCC 9.2.0 > > On Sat, 14 Dec 2019, Martin Storsjö wrote: > > > On Sat, 14 Dec

Re: [Mingw-w64-public] gettext 0.19.8.1 build error with GCC 9.2.0

2019-12-14 Thread Kacvinsky, Tom
> -Original Message- > From: Martin Storsjö > Sent: Saturday, December 14, 2019 3:55 AM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] gettext 0.19.8.1 build error with GCC 9.2.0 > > On Sat, 14 Dec 2019, Liu Hao wrote: > > > 在 2019/12/14 4:17, Martin

Re: [Mingw-w64-public] gettext 0.19.8.1 build error with GCC 9.2.0

2019-12-13 Thread Kacvinsky, Tom
Hi Martin, > -Original Message- > From: Martin Storsjö > Sent: Friday, December 13, 2019 3:18 PM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] gettext 0.19.8.1 build error with GCC 9.2.0 > > On Fri, 13 Dec 2019, Kacvinsky, Tom wrot

[Mingw-w64-public] gettext 0.19.8.1 build error with GCC 9.2.0

2019-12-13 Thread Kacvinsky, Tom
I am trying to compiler gettext 0.19.8.1 on MinGW-w64 (custom build of GCC 9.2.0 is being used), and get this error: gettext-runtime/gnulib-lib/mbsinit.c:32:28: error: invalid operands to binary == (have 'mbstate_t' {aka 'const struct _Mbstatet'} and 'int') Presumably this has been fixed in

Re: [Mingw-w64-public] gnatdll not building

2019-12-03 Thread Kacvinsky, Tom
Hi, > -Original Message- > From: JonY via Mingw-w64-public pub...@lists.sourceforge.net> > Sent: Monday, December 2, 2019 10:37 AM > To: mingw-w64-public@lists.sourceforge.net > Cc: JonY > Subject: Re: [Mingw-w64-public] gnatdll not building > > On 12/2/19 2:

Re: [Mingw-w64-public] gnatdll not building

2019-12-02 Thread Kacvinsky, Tom
HI yet again > -Original Message- > From: Kacvinsky, Tom > Sent: Wednesday, November 27, 2019 8:59 AM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] gnatdll not building > > Hi again, > > > -Original Message- >

Re: [Mingw-w64-public] gnatdll not building

2019-11-27 Thread Kacvinsky, Tom
Hi again, > -Original Message- > From: Kacvinsky, Tom > Sent: Wednesday, November 27, 2019 8:56 AM > To: mingw-w64-public@lists.sourceforge.net > Subject: [Mingw-w64-public] gnatdll not building > > I am trying to build the custom tool chain tha

[Mingw-w64-public] gnatdll not building

2019-11-27 Thread Kacvinsky, Tom
I am trying to build the custom tool chain that I built in the past such that the Ada tool chain uses UCRT. I was able to accomplish this with x86_64, but now I am trying my hand at i686. The build script I am using builds the GCC dependencies (gmp, mpfr, mpc) first, builds binutils, builds

Re: [Mingw-w64-public] Building binutils with gcc 9.2.0

2019-11-22 Thread Kacvinsky, Tom
> -Original Message- > From: LRN > Sent: Friday, November 22, 2019 11:35 AM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] Building binutils with gcc 9.2.0 > > On 22.11.2019 19:22, Kacvinsky, Tom wrote: > > I am seeing th

[Mingw-w64-public] Building binutils with gcc 9.2.0

2019-11-22 Thread Kacvinsky, Tom
I am seeing this while building bintutils 2.33.1 with gcc 9.2.0 that comes with the wingw-w64-i686-toolchain supplied compilers: ../../../libiberty/pex-unix.c:395:20: error: 'FD_CLOEXEC' undeclared (first use in this function) 395 | if ((flags & FD_CLOEXEC) == 0 && fcntl (old_fd,

Re: [Mingw-w64-public] GMP compile error with GCC 9.2.0

2019-11-20 Thread Kacvinsky, Tom
tab.h:2:2: error: #error This table is for GMP_LIMB_BITS = 64 2 | #error This table is for GMP_LIMB_BITS = 64 | ^ > Op wo 20 nov. 2019 18:35 schreef Kacvinsky, Tom > : > > > I am using the latest MinGW-w64 i686 tool chain (which is based on GCC > > 9.2.0) to buil

[Mingw-w64-public] GMP compile error with GCC 9.2.0

2019-11-20 Thread Kacvinsky, Tom
I am using the latest MinGW-w64 i686 tool chain (which is based on GCC 9.2.0) to build a custom tool chain with UCRT support. But the compiler is throwing an error when building GMP: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_pre_divrem_1 -m32 -O2

Re: [Mingw-w64-public] Weird issue with UCRT and custom tool chain

2019-11-13 Thread Kacvinsky, Tom
age- > From: Kacvinsky, Tom > Sent: Tuesday, November 12, 2019 8:02 AM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] Weird issue with UCRT and custom tool > chain > > Which version of binutils? I am using 2.32 > > > -Original Me

Re: [Mingw-w64-public] Weird issue with UCRT and custom tool chain

2019-11-12 Thread Kacvinsky, Tom
I using mingw-w64 commit is 2ce6f4b1548453818fa71c89c88fed5f7f4d508b > > Kacvinsky, Tom 于2019年11月12日周二 上 > 午2:12写道: > > > Hi, > > > > > -Original Message- > > > From: Peiyuan Song > > > Sent: Monday, November 11, 2019 10:16 AM > >

Re: [Mingw-w64-public] Weird issue with UCRT and custom tool chain

2019-11-11 Thread Kacvinsky, Tom
64 + UCRT, it works fine. > That, unfortunately, is not helpful. :-( > Kacvinsky, Tom 于 2019年11月11日周一 > 22:31写道: > > > AS you know, I had to build a custom GCC toolchain with UCRT support > > in the MinGW-w64. > > > > What I did next (aside from building our

[Mingw-w64-public] Weird issue with UCRT and custom tool chain

2019-11-11 Thread Kacvinsky, Tom
AS you know, I had to build a custom GCC toolchain with UCRT support in the MinGW-w64. What I did next (aside from building our product) is build Microsoft's Z3 theorem prover software. Here is the weird thing: On my machine, both Z3 built with the custom MinGW-w64 toolchain and Visual

[Mingw-w64-public] Debug versions of MS runtimes in MiinGW-w64

2019-10-02 Thread Kacvinsky, Tom
I am unfortunately in the position where the Visual Studio compiled code I am using does not allow me to set a breakpoint where I need to. I have been told it is because I am using the /MD flag and that is causing problems with the generated oject code with respect to the information stored in

[Mingw-w64-public] Repo for winpthreads

2019-08-27 Thread Kacvinsky, Tom
Hi all, I have had great success with the UCRT support I need for the project I am working on. But today I found out I also need winpthread support, which is currently not in the kit (gcc-8.3.0 based) I built. I still have the script I used to bootstrap gcc-8.3.0 and associated runtimes that

Re: [Mingw-w64-public] Forcing MinGW-w64's linker to find Windows specific libraries

2019-06-24 Thread Kacvinsky, Tom
> -Original Message- > From: Maarten Verhage > Sent: Saturday, June 22, 2019 9:38 AM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] Forcing MinGW-w64's linker to find > Windows specific libraries > > Hi Tom, > > I'm not an expert on this topic but

Re: [Mingw-w64-public] Forcing MinGW-w64's linker to find Windows specific libraries

2019-06-22 Thread Kacvinsky, Tom
> -Original Message- > From: Kacvinsky, Tom > Sent: Friday, June 21, 2019 5:04 PM > To: mingw-w64-public@lists.sourceforge.net > Subject: [Mingw-w64-public] Forcing MinGW-w64's linker to find Windows > specific libraries > > I am getting these errors: >

[Mingw-w64-public] Forcing MinGW-w64's linker to find Windows specific libraries

2019-06-21 Thread Kacvinsky, Tom
I am getting these errors: C:\code\mingw-native\bin/ld.exe: cannot find -ladvapi32.lib C:\code\mingw-native\bin/ld.exe: cannot find -lcomctl32.lib C:\code\mingw-native\bin/ld.exe: cannot find -lcomdlg32.lib C:\code\mingw-native\bin/ld.exe: cannot find -lcrypt32.lib

Re: [Mingw-w64-public] PKGBUILD script for toolchain, still having GCC compile errors

2019-04-24 Thread Kacvinsky, Tom
Hi > -Original Message- > From: Martin Storsjö > Sent: Wednesday, April 24, 2019 3:54 PM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] PKGBUILD script for toolchain, still having > GCC compile errors > > On Wed, 24 Apr 20

Re: [Mingw-w64-public] PKGBUILD script for toolchain, still having GCC compile errors

2019-04-24 Thread Kacvinsky, Tom
Hi Martin, > -Original Message- > From: Martin Storsjö > Sent: Wednesday, April 24, 2019 7:55 AM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] PKGBUILD script for toolchain, still having > GCC compile errors > > On Wed, 24 Apr 2019, Martin Storsjö wrote:

Re: [Mingw-w64-public] PKGBUILD script for toolchain, still having GCC compile errors

2019-04-23 Thread Kacvinsky, Tom
HI > -Original Message- > From: Liu Hao > Sent: Monday, April 22, 2019 10:18 PM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] PKGBUILD script for toolchain, still having > GCC compile errors > > 在 2019/4/23 上午5:12, Martin Storsjö 写道: > > I haven't looked

Re: [Mingw-w64-public] PKGBUILD script for toolchain, still having GCC compile errors

2019-04-22 Thread Kacvinsky, Tom
> -Original Message- > From: David Grayson > Sent: Thursday, April 18, 2019 12:19 PM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] PKGBUILD script for toolchain, still having > GCC compile errors > > It's not really a chicken and egg situation. You

Re: [Mingw-w64-public] PKGBUILD script for toolchain, still having GCC compile errors

2019-04-17 Thread Kacvinsky, Tom
Hi, > -Original Message- > From: Liu Hao > Sent: Wednesday, April 17, 2019 11:10 AM > To: mingw-w64-public@lists.sourceforge.net; Kacvinsky, Tom > > Subject: Re: [Mingw-w64-public] PKGBUILD script for toolchain, still having > GCC compile errors > > 在 2019/4

Re: [Mingw-w64-public] PKGBUILD script for toolchain, still having GCC compile errors

2019-04-16 Thread Kacvinsky, Tom
12:53 PM > To: mingw-w64-public@lists.sourceforge.net; Kacvinsky, Tom > > Subject: Re: [Mingw-w64-public] PKGBUILD script for toolchain, still having > GCC compile errors > > Oh yeah, another thing I was going to say is that `--prefix=/usr/local` looks > very suspect to me

[Mingw-w64-public] PKGBUILD script for toolchain, still having GCC compile errors

2019-04-16 Thread Kacvinsky, Tom
I am looking at this script https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-gcc/PKGBUILD It doesn't say which version of gcc this is for as far as I can tell, so perhaps it is generic. What I have found is that some of the patches don't seem to apply to GCC 8.3.0, at least

[Mingw-w64-public] pthread.h

2019-04-08 Thread Kacvinsky, Tom
Is the minge-64-headers component of the CRT repo supposed to install pthread.h? ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

[Mingw-w64-public] Issue with documentation for building CRT and GCC

2019-04-04 Thread Kacvinsky, Tom
I am using https://sourceforge.net/p/mingw-w64/wiki2/Cross%20Win32%20and%20Win64%20compiler/ In there, it says to use --disable-multilib if I do not want 32 and 64-bit support, only the native mingw-w64 architecture. Despite adding that to the configure options, lib32 is still built. I'd

Re: [Mingw-w64-public] Building GCC linked against libucrt fails

2019-04-01 Thread Kacvinsky, Tom
> -Original Message- > From: Kacvinsky, Tom > Sent: Monday, April 1, 2019 10:54 AM > To: mingw-w64-public@lists.sourceforge.net > Subject: [Mingw-w64-public] Building GCC linked against libucrt fails > > > In my own setup for bootstrapping a mingw cross com

[Mingw-w64-public] Building GCC linked against libucrt fails

2019-04-01 Thread Kacvinsky, Tom
Hi, > I think the important distinction here is to make between building the > compiler itself (which is a binary which you build using your existing > toolchain, > using the CRT that is default/usable there), and building the runtimes > (libgcc, > libstdc++, libada) which the compiler will be

Re: [Mingw-w64-public] ucrtbase.def and _environ, etc.

2019-03-27 Thread Kacvinsky, Tom
> > It's not missing because it's deprecated or something of that effect. It's > missing because ucrtbase.dll doesn't export any symbol named _environ. > > If you build code that reference the _environ variable with headers set to > __MSVCRT_VERSION__ >= 0x1400, "_environ" will expand to (* >

[Mingw-w64-public] ucrtbase.def and _environ, etc.

2019-03-26 Thread Kacvinsky, Tom
I understand the data symbol _environ should not be used as outlined in MSDN documentation. That said, libgnat.a from MinGW-w64 6.0.0 (as installed via pacman in MSYS2) still uses it I suitably modified ucrtbase.def to add _environ DATA rebuilt the import libraries and all is well. So I am

Re: [Mingw-w64-public] Adding Visual Studio 2017 support to MinGW-w64

2019-03-25 Thread Kacvinsky, Tom
> -Original Message- > From: Martin Storsjö > Sent: Monday, March 25, 2019 4:35 PM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] Adding Visual Studio 2017 support to > MinGW-w64 > > On Mon, 25 Mar 2019, Kacvinsky, Tom

Re: [Mingw-w64-public] Adding Visual Studio 2017 support to MinGW-w64

2019-03-25 Thread Kacvinsky, Tom
-Original Message- From: Kacvinsky, Tom Sent: Monday, March 25, 2019 7:59 AM To: mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64-public] Adding Visual Studio 2017 support to MinGW-w64 > > The best way to use it is to rebuild mingw-w64 from scratch wit

Re: [Mingw-w64-public] Adding Visual Studio 2017 support to MinGW-w64

2019-03-25 Thread Kacvinsky, Tom
> > The best way to use it is to rebuild mingw-w64 from scratch with both > headers and crt built with --with-default-msvcrt=ucrt (or ucrtbase). > Then your "libmsvcrt.a" actually will be the libucrt.a (or > libucrtbase.a) and will link against api-ms-win-crt-*.dll or > ucrtbase.dll. (VS

Re: [Mingw-w64-public] Adding Visual Studio 2017 support to MinGW-w64

2019-03-24 Thread Kacvinsky, Tom
-Original Message- From: Kacvinsky, Tom Sent: Sunday, March 24, 2019 11:34 AM To: mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64-public] Adding Visual Studio 2017 support to MinGW-w64 HI, Realized I just be bottom posting. Sorry about that. -Original Message

Re: [Mingw-w64-public] Adding Visual Studio 2017 support to MinGW-w64

2019-03-24 Thread Kacvinsky, Tom
, Kacvinsky, Tom wrote: > Hi Martin, > > I have a mixed C, C++, and Ada source tree. I used Visual Studio to > compile C and C++ code, and a MinGW-w64 based Ada compiler. What I > would like to do is get MinGW-w64 version 5.0.4 (which is what the Ada > compiler is based o

Re: [Mingw-w64-public] Adding Visual Studio 2017 support to MinGW-w64

2019-03-23 Thread Kacvinsky, Tom
: [Mingw-w64-public] Adding Visual Studio 2017 support to MinGW-w64 On Sat, 23 Mar 2019, Kacvinsky, Tom wrote: > Well, MS does not ship a mavcr140.dll (according to what I see in the > redistributables), so I think the DLL I want to focus on is > vcruntime140.dll There's no msvcr140.dll -

Re: [Mingw-w64-public] Adding Visual Studio 2017 support to MinGW-w64

2019-03-23 Thread Kacvinsky, Tom
Well, MS does not ship a mavcr140.dll (according to what I see in the redistributables), so I think the DLL I want to focus on is vcruntime140.dll -Original Message- From: Kacvinsky, Tom Sent: Saturday, March 23, 2019 11:47 AM To: mingw-w64-public@lists.sourceforge.net Subject: Re

Re: [Mingw-w64-public] Adding Visual Studio 2017 support to MinGW-w64

2019-03-23 Thread Kacvinsky, Tom
OK, the gendef steps makes sense. But... An issue is that C++ files, when compiled with Visual Studio 2017, show both vcruntime140.dll and msvcp140.dll as dependencies (along with a bunch of api-ms*.dll files). On the other hand, C only executables show just vcruntime140.dll and the api-ms*.dll

[Mingw-w64-public] Adding Visual Studio 2017 support to MinGW-w64

2019-03-22 Thread Kacvinsky, Tom
I see there are a few libraries meant for use with interacting with Visual Studio - libmsvcr90.a (Visual Studio 2008) for instance. I'd like to add something similar for Visual Studio 2017, but I have not been able to find a good online guide for doing so. Does anyone have any ideas on this?