C (53/257)

From:
Date:05 Feb 2001 at 10:06:19
Subject:Re: GCC link prob

On Sun, Feb 04, 2001 at 01:04:09AM +0100, Jose Andias wrote:
> Hi Stephen
>
> On 03-Feb-01, you wrote:
>
> > Even though you may have included the file "proto/intuition.h", you will
> > need to define
> >
> > struct IntuitionBase *IntuitionBase
> >
> > yourself somewhere in the global scope of your program (the proto file only
> > declares it as an extern). Don't forget that you will also need to open the
> > Intuition library yourself as libamiga doesn't do it for you.
>
> Ok, thank you very much. The prob was i was building on a compiler
> and using a lib that opened intuition lib for me and so. Everything
> went fine, thanks.

GCC does support this as well. Apparently, you don't use libnix because
if you would "auto-opening of system libraries" would work out-of-the-box.
Not using libnix means you have to add "-lauto" when linking.

Gunther

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://click.egroups.com/1/11231/0/_/451227/_/981364175/
---------------------------------------------------------------------_->