| delorie.com/archives/browse.cgi | search |
| From: | trout AT sci DOT fi (Antti Harju) |
| Subject: | Re: Some problems in making DLL's for C++ programs with GCC |
| (fwd) | |
| 16 Feb 1997 07:42:31 -0800 : | |
| Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
| Distribution: | cygnus |
| Message-ID: | <3.0.32.19970216165442.006a1168.cygnus.gnu-win32@sci.fi> |
| Mime-Version: | 1.0 |
| X-Sender: | trout AT sci DOT fi |
| X-Mailer: | Windows Eudora Pro Version 3.0 (32) |
| Original-To: | Fergus Henderson <fjh AT cs DOT mu DOT OZ DOT AU> |
| Original-Cc: | gnu-win32 AT cygnus DOT com |
| Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
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
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |