|
From: Earnie B. <ea...@us...> - 2012-04-24 19:44:31
|
On Tue, Apr 24, 2012 at 2:48 PM, kaya13 <fai...@gm...> wrote: > Thanks, but still doesnt work. I almost tried all the cases, added -l as a > prefix, removed suffix, changed file name, etc. Tried to find out all day, > still no solution. g++ -o my.exe my.o -lmylib The reference to -lmylib will find libmylib.dll.a or libmylib.a or mylib.lib or mylib.dll in C:\mingw\lib assuming you installed MinGW in C:\mingw. -- Earnie -- https://sites.google.com/site/earnieboyd |