first of all, thanks for the great work put into codelite

it's really a superb IDE as I've seen so far.
my question is can codelite do inline asm ?
now I've checked and GCC support of inline assembly is very different. MS uses the Intel convention while GCC uses AT&T style._asm
{
mov esp, exceptionstack
}
#ifdef PREFETCH
_asm
{
pushad
mov edx, dword ptr [pc]
call prefetch_fillASM
popad
jmp dword ptr [exceptionbackdooraddress]
}
#endif
well I can change the intel asm in my source to AT&T style but of course without codelite somehow passing it to GCC it won't be much good.__asm__ ("movl %eax, %ebx\n\t"
"movl $56, %esi\n\t"
"movl %ecx, $label(%edx,%ebx,$4)\n\t"
"movb %ah, (%ebx)");
Code: Select all
gcc -O2 -fomit-frame-pointer -W -Wall
Code: Select all
-O2;-fomit-frame-pointer;-W;-Wall