Mail Archives: djgpp/2000/06/10/06:23:16
Hello!
I have downloaded gcc-2.95.2 for dos from:
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/gcc2952b.zip
I try to recompile my project with function declaration as:
#define __FASTCALL__ __attribute__ (( __regparm__(3) , __stdcall__ ))
extern void __FASTCALL my_func(int a);
But I found, that DOS version of gcc is ignores __regparm__ argument!
Btw, if recompile source with -mregparm=3 from comand line then everything o'k!
Also, I found that gcc does not understand -march=pentium -mcpu=pentium arguments.
Any suggestions!
Best regards! Nick
- Raw text -