delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/10/06:23:16

From: "Nick Kurshev" <nickols_k AT mail DOT ru>
To: "djgpp AT delorie DOT com" <djgpp AT delorie DOT com>
Date: Sat, 10 Jun 2000 14:29:36 +0000 (:)
X-Mailer: (емо - версия) PMMail 2.00.1500 for OS/2 Warp 4.05
MIME-Version: 1.0
Subject: gcc-2.95.2 for DOS is not capable
Message-Id: <E130iPe-0002hl-00@smtp3.mail.ru>
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright й 2019   by DJ Delorie     Updated Jul 2019