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

Danny Smith danny_r_smith_2001@yahoo.co.nz
Thu Aug 2 16:31:00 GMT 2001

 --- 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!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: c++dll.tar.gz
Type: application/x-gzip
Size: 2175 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20010802/ba74ed96/attachment.bin>

More information about the Cygwin-apps mailing list