[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] [WIP] Port feature/native-comp to Windows.
From: |
Andrea Corallo |
Subject: |
Re: [PATCH] [WIP] Port feature/native-comp to Windows. |
Date: |
Sun, 10 May 2020 11:23:37 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Nicolas Bértolo <address@hidden> writes:
>> 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".
Yep, AFAIR gcc_jit_context_add_command_line_option is for the compiler
only (that's the reason I added gcc_jit_context_add_driver_option).
> This means that we would need to use setenv() to define GCC_EXEC_PREFIX before
> calling libgccjit, right?
Sounds like an options for this specific problem but I still have to
understand the whole.
>> 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
Thanks
--
address@hidden
- Re: [PATCH] [WIP] Port feature/native-comp to Windows., (continued)
- 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, 2020/05/10
- Re: [PATCH] [WIP] Port feature/native-comp to Windows.,
Andrea Corallo <=
- 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
Re: [PATCH] [WIP] Port feature/native-comp to Windows., Andrea Corallo, 2020/05/09