[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] [WIP] Port feature/native-comp to Windows.
From: |
Nicolas Bértolo |
Subject: |
Re: [PATCH] [WIP] Port feature/native-comp to Windows. |
Date: |
Sun, 10 May 2020 15:05:05 -0300 |
> It should be possible to use recent entry points but only with a
> fallback. This unless we see there's really no other option and we
> accept the trade off.
We can fallback to the full set of default libs if we can not use the
"-nodefaultlibs" and "-l" options. But the key part of the patch is to set the
"-B" flag. It does not seem like we can use
gcc_jit_context_add_command_line_option instead of
gcc_jit_context_add_driver_option to pass "-B".
This means that we would need to use setenv() to define GCC_EXEC_PREFIX before
calling libgccjit, right?
> For the rest I do not have Windows knowledge so to form an opinion I'd
> need to understand a little more how it works. In case you have some
> reference to recommend please feel free to suggest.
Regarding the CRT part this is what I read to understand why I needed to add so
many libraries:
https://support.microsoft.com/en-us/help/94248/how-to-use-the-c-run-time
Nicolas
- Re: [PATCH] [WIP] Port feature/native-comp to Windows., (continued)
- Re: [PATCH] [WIP] Port feature/native-comp to Windows., Andrea Corallo, 2020/05/10
- Re: [PATCH] [WIP] Port feature/native-comp to Windows., Eli Zaretskii, 2020/05/10
- Re: [PATCH] [WIP] Port feature/native-comp to Windows., Andrea Corallo, 2020/05/10
- Re: [PATCH] [WIP] Port feature/native-comp to Windows., Eli Zaretskii, 2020/05/10
- Re: [PATCH] [WIP] Port feature/native-comp to Windows., Andrea Corallo, 2020/05/10
- Re: [PATCH] [WIP] Port feature/native-comp to Windows., Eli Zaretskii, 2020/05/10
- Re: [PATCH] [WIP] Port feature/native-comp to Windows., Nicolas Bértolo, 2020/05/10
- Re: [PATCH] [WIP] Port feature/native-comp to Windows., Andrea Corallo, 2020/05/10
- Re: [PATCH] [WIP] Port feature/native-comp to Windows., Andrea Corallo, 2020/05/10
- Re: [PATCH] [WIP] Port feature/native-comp to Windows., Eli Zaretskii, 2020/05/10
- Re: [PATCH] [WIP] Port feature/native-comp to Windows.,
Nicolas Bértolo <=
- Re: [PATCH] [WIP] Port feature/native-comp to Windows., Andrea Corallo, 2020/05/10
- Re: [PATCH] [WIP] Port feature/native-comp to Windows., Andrea Corallo, 2020/05/10
Re: [PATCH] [WIP] Port feature/native-comp to Windows., Andrea Corallo, 2020/05/09
Re: [PATCH] [WIP] Port feature/native-comp to Windows., Andrea Corallo, 2020/05/09
Re: [PATCH] [WIP] Port feature/native-comp to Windows., Eli Zaretskii, 2020/05/09
Re: [PATCH] [WIP] Port feature/native-comp to Windows., Andrea Corallo, 2020/05/09