This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE:GCC-3.0, class DLLIMPORT foo, and ld --enable-auto-import. (with attach)


 --- Danny Smith <danny_r_smith_2001@yahoo.co.nz> wrote: > Date: Fri, 3
Aug 2001 09:23:54 +1000 (EST)

Oops, I got so excited I forget the attachment.

> Hello
>  
> The use of Paul S auto-import feature allows dllimports of C++
> classes
> with GCC-3.0.  The "class __attribute__((dllimport)) foo" construct
> causes g++ parser error in Gcc-3.0.  With auto-import the attribute
> may
> no longer necessary (time will tell). See attached example, modified
> from dllhelpers, which builds and runs with GCC-3.0 and ld
> --auto-import. 
> 
> The build is  slow and produces large executables but that is due I
> think to the use of templated iostreams.  
> 
> Danny
> 


_____________________________________________________________________________
http://messenger.yahoo.com.au - Yahoo! Messenger
- Voice chat, mail alerts, stock quotes and favourite news and lots more!

c++dll.tar.gz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]