This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: creating shared dlls yields undefined reference to `WinMain@16' in mingw 4.3


Daniel Walter wrote:
> It appears that libmingw.a is causing the problem, though this library
> can be linked to form a dll as long as no gcj object files are linked as
> well. Below are the results of the attempts to link with 'g++ -v' first
> with gcj objects which failed and the second time with only g++ objects.

So, which object file in libmingw.a contains the undefined reference to
`WinMain@16'  And what dependency is causing it to be pulled in?

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]