This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug libquadmath/58327] Problem of quadmath in connection with SDL2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58327

--- Comment #4 from Ulrich Weber <u.weber at gipko dot de> ---
(In reply to Tobias Burnus from comment #2)
> For what it is worth: It works under x86-64 Linux with GCC 4.9.
> 
> I assume that you do not link SDL2 but you just #include the file - is that
> correct?

I use the linker options -lmingw32 -lquadmath -lSDL2main -lSDL2
if this is the answer to your question. 

When I remove the references to SDL2 here I get a linker error

C:\Program Files (x86)\Dev-Cpp\MinGW32\lib\libmingw32.a(main.o)   
main.c:(.text.startup+0xa7): undefined reference to `WinMain@16'


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