[Issue 5639] New: allow snn.lib to be replaced by other C runtimes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 22 01:12:39 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5639

           Summary: allow snn.lib to be replaced by other C runtimes
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: mrmocool at gmx.de


--- Comment #0 from Trass3r <mrmocool at gmx.de> 2011-02-22 01:09:56 PST ---
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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list