From: frank denis 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: from "Eli Zaretskii" at May 2, 96 08:38:59 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1182 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 ._-^-_/