Questions about the Hermetic Java project
dean.long at oracle.com
dean.long at oracle.com
Thu Apr 18 22:35:16 UTC 2024
There is also the LIB command, which creates the equivalent of a .a
library, but with an explicit export list:
https://learn.microsoft.com/en-us/cpp/build/reference/building-an-import-library-and-export-file?view=msvc-170
dl
On 4/18/24 3:28 AM, Magnus Ihse Bursie wrote:
> What needs to be done then is:
>
> 1) Combine multiple .obj (COFF object files) into one.
>
> 2) Change the visibility of symbols that are not marked as
> dll_export:ed to they appear like they were declared static.
>
> In the clang/gcc world, the first step is done by "partial linking" by
> ld. That is our first blocker -- link.exe cannot do that. So the first
> question is really, is there a Windows build of ld that can work on
> COFF files to achieve this?
>
> The second step is done by objcopy using the "--localize-hidden"
> argument. The second question is, could this work on a COFF object file?
More information about the leyden-dev
mailing list