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

16 Feb 1997 07:42:31 -0800
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: [email-masked]
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Original-To: Fergus Henderson <[email-masked]>
Original-Cc: [email-masked]
Original-Sender: [email-masked]

At 01:25 16.2.1997 +1100, you wrote:
>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");
                           ^
                  can't be a space here

So the correct syntax is

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

	-antti

-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".