Subject: Re: Some problems in making DLL's for C++ programs with GCC (fwd)
From: [email-masked] (Fergus Henderson)

15 Feb 1997 07:49:44 -0800
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Content-Type: text
Original-To: [email-masked] (gnu-win32)
X-Mailer: ELM [version 2.4 PL24]
Original-Sender: [email-masked]

I wrote:

> where fixup.s contains the following assembler code:
> 
> 	.section .idata $3
> 	.long 0,0,0,0, 0,0,0,0

Oops, that won't work.  Try fixup.c with

	asm(".section .idata $3\n" ".long 0,0,0,0, 0,0,0,0");

instead.

-- 
Fergus Henderson <[email-masked]>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger [email-masked]         |     -- the last words of T. S. Garp.
-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".