Opened 14 years ago
Last modified 13 years ago
#8 new defect
Make msvcrt.dll build
Reported by: | dmik | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | general enhancement |
Component: | odin | Version: | |
Severity: | Keywords: | ||
Cc: |
Description
Odin contains an emulation library for MSVCRT in src/msvcrt which in particular defines MS-specific functions like _wgetdcwd() or _wfullpath(). Since these functions are frequently used in Windows sources (and in particular, in Java), it makes sense to resurrect this library to avoid fixing each such invocation individually.
Change History (5)
comment:1 Changed 14 years ago by
Summary: | Make msvcrt.lib build → Make msvcrt.dll build |
---|
comment:2 Changed 14 years ago by
Created MINIVCRT.LIB in r21398. Leaving this open as the primary subject is postponed.
comment:3 Changed 13 years ago by
Milestone: | → odinized java |
---|
comment:4 Changed 13 years ago by
Milestone: | odinized java |
---|---|
Priority: | blocker → major |
comment:5 Changed 13 years ago by
Milestone: | → general enhancement |
---|
Note: See
TracTickets for help on using
tickets.
I almost made it build in r21395 but there are several variables and functions used by one of the EMX support libraries (located in /lib/EmxSupport) that are defined by another one with slightly different names (prefixes). Since we don't have sources for these libraries, it is not that easy to resolve this issue (we could provide forwarders/wrappers for functions but we can't do anything with variables -- only a binary hack of the object file could help).
However, since we don't actually need a complete MSVCRT implementation for Java (since we use the EMX runtime), I won't be spending time on that now and will instead create a stripped down MSVCRT library (regular static library, not a DLL) that will only provide a few functions we need. It will be called MINIVCRT.LIB (and accompanied with the win/minivcrt.h include).