Linking D .obj files and COFF files via UniLink has shown that we might run into issues with different C RTLs.
And since snn.lib has to be recompiled for 64-Bit anyway, can't we remove any non-standard dependencies in the same step:
Don wrote:
That's pretty good. Almost all of those things are standard C.
LDIV and UDIV could easily be eliminated.
__except_list is a null asm label (it is FS:[0]).
So the main problematic ones are:
_xi_a , __acrtused_con, the __fp functions, and _Ccmp
helloworld.obj(helloworld)
Error 42: Symbol Undefined __acrtused_con
C:\dmd\windows\bin\..\lib\phobos.lib(dmain2)
Error 42: Symbol Undefined __except_list
C:\dmd\windows\bin\..\lib\phobos.lib(memory)
Error 42: Symbol Undefined __xi_a
C:\dmd\windows\bin\..\lib\phobos.lib(lifetime)
Error 42: Symbol Undefined __LDIV@
C:\dmd\windows\bin\..\lib\phobos.lib(stdio)
Error 42: Symbol Undefined ___fhnd_info
C:\dmd\windows\bin\..\lib\phobos.lib(conv)
Error 42: Symbol Undefined __ULDIV@
C:\dmd\windows\bin\..\lib\phobos.lib(stdio)
Error 42: Symbol Undefined ___fp_unlock
C:\dmd\windows\bin\..\lib\phobos.lib(stdio)
Error 42: Symbol Undefined ___fp_lock
C:\dmd\windows\bin\..\lib\phobos.lib(ti_cfloat)
Error 42: Symbol Undefined __Ccmp
Comment #1 by robert.schadek — 2024-12-13T17:54:52Z