Mail Archives: djgpp/2000/07/20/16:43:46
Hi.
At Thu, 20 Jul 2000 12:23:09 -0700, you wrote:
>gpp -Lc:\windows\desktop\tcl\code\library -lgame -g mufcode.o mufcoder.o
>-o muf.exe
The linker is reading your library and checking for any
routines it provides that satisfy unresolved references.
Since you have not yet loaded any object modules, you
don't have any unresolved references. Next, it loads
mufcode.o and mufcoder.o. *Now* it has unresolved
references! But since there are no libraries listed
*after* the objects (other than the implicit default
libraries), it can't resolve them.
Try "gpp -g -o muf.exe mufcode.o mufcoder.o -Lc:\windows\desktop\tcl\code\library -lgame", and I think you will get a better result.
---------------
Let's Go Canes!
- Raw text -