Some problems in making DLL's for C++ programs with GCC (fwd)

Antti Harju trout@sci.fi
Sun Feb 16 06:56:00 GMT 1997


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".



More information about the Cygwin mailing list