Re: Using dlls



On 20 Jul 2005 21:34:14 GMT, Ian Johnston
<NOianSPAM.NOgroupsSPAM@xxxxxxxxxxxxxx> wrote:

>: > gcc -o test.exe test.c -l \langs\libs\gdlib2033\bin\gDdll.dll
>: >
>: > I get a "cannot find file" error for gDdll.dll
>: >
>: > I am probably doing something very stupid indeed, but if someone could
>: > gently tell me what it is I'd be very grateful!
>:
>: You need to create either a .DEF or a .LIB file from the .DLL using EMXIMP.
>
> Thanks. Can you recommend a book or website which would tell me this
> stuff? (Subtext: and stop me making a fool of myself here...)

Afraid not. GCC has no real usable documentation that I can see (on OS/2 at
least). I know from reading the VAC++ docs. that IMPLIB would do this, but
I had to take an educated guess what the utility was called in GCC, and then
actually try it.
.



Relevant Pages

  • Re: What will your kids say?
    ... addiction and how grateful they are that you are still around to babysit the ... > I hope mine say something along the lines of "She was stupid like a lot ... > I quit smoking over three years ago. ...
    (alt.support.stop-smoking)
  • Re: Maximum safe IEC cable length? Y splitter docs?
    ... or "novices" alike should all be grateful for the consideration. ... way too many infamouts around here.... ... Already have my degree, my business, my family, and my ministry! ... but you're too stupid to even realise that. ...
    (comp.sys.cbm)
  • Re: Vexing GCC warnings: "assignment discards qualifiers from pointer target type"
    ... snip ... ... > GCC probably realizes that and tries to prevent you from doing ... > something stupid by warning about returning a string literal as ...
    (comp.lang.c)
  • Re: __TIME_MIN/__TIME_MAX
    ... On Fri, 14 Nov 2003, Jacques Vidrine wrote: ... >> I prefer the cast. ... > stupid) warnings emitted by GCC. ... If time_t is actually signed then we may get a GCC ...
    (freebsd-arch)
  • Re: [git patches 1/2] warnings: attack valid cases spotted by warnings
    ... (rofl, look at that mess: it was utterly impractical, unrealistic and ... stupid for gcc to go and UTFify the compiler output. ... I absolutely *detest* how gcc does idiotic quoting just because you ...
    (Linux-Kernel)