bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/4600] MinGW32 DLL causes MSVC application initialization failure


From: all_my_junk_e-mail at hotmail dot com
Subject: [Bug ld/4600] MinGW32 DLL causes MSVC application initialization failure during runtime
Date: 20 Jul 2007 18:17:45 -0000

------- Additional Comments From all_my_junk_e-mail at hotmail dot com  
2007-07-20 18:17 -------
I've found the following workaround: Ensure the source file containing the entry
point function is the first one in the list when linking the final target.

For this particular test case, add the following line:
SRCS := src/entrx.c $(filter-out src/entrx.c,$(SRCS))

after this line (line 10):
SRCS = $(wildcard $(SRCDIR)/*.c)

The "entrx.c" file may now be named anything (as long as the makefile is
updated) because the new line ensures it comes first in the list of files (the
source file list is also used for the object files, but with a different 
extension).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


http://sourceware.org/bugzilla/show_bug.cgi?id=4600

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]