www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/02/07:17:48

From: frank denis <Frank DOT Denis AT epita DOT fr>
Message-Id: <199605021311.NAA26091@aux.epita.fr>
Subject: Re: register calling convention
To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
Date: Thu, 2 May 1996 13:11:25 +0000 (GMT)
Cc: djgpp AT delorie DOT com
In-Reply-To: <Pine.SUN.3.91.960502083608.6400D-100000@is> from "Eli Zaretskii" at May 2, 96 08:38:59 am
MIME-Version: 1.0

Hello ! In a previous mail, our friend Eli Zaretskii said :
-=)> Use the -mregparm=n (where n is a number [1..3]).  Look it up in the GCC
-=)> docs.  Note that you will have to rebuild the libraries you use (including
-=)> the libraries which come with DJGPP) with that same switch to be
-=)> consistent with that parameter-passing mechanism. 

  May someone recompile these libraries and make them available for everyone
on a ftp ? I tried but all the programs crashed with the new libc when I
added -mrtd and -mregparm=3. Using __attribute__ ((__stdcall__)) for my own
functions also cause an exception, although __regparm__ works fine. May
someone help me produce the fastest possible code with DJGPP ?

  Also what is exactly the effect of the "-N" flag ?

  Best regards, Frank.
-- 
.-=)>       Frank DENIS aka JEDI from SECTOR ONE ( j AT nether DOT net )        <(=-. 
\   Serveur minitel RTC-One au prix d'une simple communication sur Paris :   /
 )  (1) 48.70.10.29 ou (1) 48.58.46.17 - Messagerie, HP48, PC, delires, ... (
(       Acces 28800 bauds au (1) 49.88.76.91 . http://www.nether.net/~j/     )
 \_-^-_.             Chui un bon a rien, une loque humaine            ._-^-_/

- Raw text -


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