-
lcc win32 and winmm.lib
Hello,
I used to use gcc, and to compile this windows program that includes mmsystem.h, it used the following command line:
gcc -mwindows firstevar.c -lwinmm
Now, I tried using lcc, and it goes like the following:
c:\lcclnk -subsystem windows -o journallier \lcc\lib\winmm.lib blah.o
blah.o .text: undefined reference to '_timeGetDevCaps@8'
blah.o .text: undefined reference to '_timeBeginPeriod@4'
blah.o .text: undefined reference to '_timeSetEvent@20'
blah.o .text: undefined reference to '_timeKillEvent@4'
blah.o .text: undefined reference to '_getw'
blah.o .text: undefined reference to '_ShellExecute'
The question is, how do you properly link libraries in lcc? Did I miss something painstakingly obvious?
Thanks in advance
-
You should consider pellesC. It is heavily based on lcc, but its more up to date and has many improvements on lcc. Pellesc has also an active forum of its own IIRC.
I cant help you with the problem, but i thought i just share this info since it might be usefull ;) .