This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Some problems in making DLL's for C++ programs with GCC (fwd)
- To: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- Subject: Re: Some problems in making DLL's for C++ programs with GCC (fwd)
- From: Antti Harju <trout at sci dot fi>
- Date: Sun, 16 Feb 1997 16:54:45 +0200
- Cc: 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@cygnus.com" with one line of text: "help".