Mail Archives: djgpp/1997/01/11/13:22:47
On 11 Jan 1997 01:20:38 GMT "Dann Corbit" <dcorbit AT solutionsiq DOT com>
writes:
>There is a newsgroup named comp.os.msdos.djgpp. Its entire reason to
>be is
>to answer questions just like this one. I have copied this message to
>that
>group. If you look there, I'm sure the clever users of that group
>will
>have cheerfully provided an answer for you (assuming it's not in their
>FAQ
>and the answer is a RTFM - Flame).
>
>hoskinsd AT cadvision DOT com wrote in article
><852931372 DOT 17708 AT dejanews DOT com>...
>> I have DJGPP with the GCC compiler.
>> I have a program that uses CXLWIN.H as a header file and,
>> CXLWIN.H uses a library called CXLVID.LIB
>>
>> I tried to compile my program using:
>> GCC progname.c -o progname.exe
If it uses the library, this will fail. The library should be linked in.
>> GCC progname.c -o progname.exe -lCXLVID.LIB
This command should work.
>> GCC progname.c -Lc:\djgpp\lib -o progname.exe -lCXLVID.LIB
This command should also work.
>> and GCC kept giving me parse errors because of the function
>declarations
>> in CXLWIN.H
The error is not in the linking of the library, then, but the parsing of
it. That is, there are actual errors in the source code. Please post
the exact errors you received to djgpp AT delorie DOT com
>>
>> I think GCC does not know where to look for CXLVID.LIB.
>>
>> How can I get GCC to link in CXLVID.LIB so CXLWIN.H can use the
>built in
>> functions?
>> -------------------==== Posted via Deja News
>====-----------------------
>> http://www.dejanews.com/ Search, Read, Post to Usenet
>>
>
- Raw text -