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