delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/25/08:45:22

Xref: news2.mv.net comp.os.msdos.djgpp:6397
From: Laurentiu Badea <bytemare AT lmn DOT pub DOT ro>
Newsgroups: comp.os.msdos.djgpp
Subject: Argument passing control ( a la Watcom )
Date: Wed, 24 Jul 1996 14:15:13 +0200
Organization: Laboratory for Numerical Methods
Lines: 31
Message-ID: <31F613B9.2ACB1288@lmn.pub.ro>
NNTP-Posting-Host: ha.lmn.pub.ro
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In Watcom one has very good control of how function arguments are
passed
(for example, I can say first arg in EAX, second in BL and the third on
stack )
How can I do this with djgpp ( or with gcc for that matter ).

And another question: gcc crashes when compiling file tif_fax3.c from
the
tiff library package (all the other files compile ok). By "crashes" I
mean
a SIGSEGV. I tried growing the stack as described in the faq, but it
doesn't 
work. The file isn't large at all. I can't get it to compile.

Thanks,
Laurentiu

PS. please email too, because I probably won't get to read news for
about a
couple of weeks or so. Thank you.
-- 
------------------------------------------------------------------------------
| Laurentiu Badea,            
bytemare AT lmn DOT pub DOT ro                           |
| CS student at PUB,          
laur AT ulise DOT cs DOT pub DOT ro                          |
| Network
Administrator                                                      |
| for node lmn.pub.ro.        
http://www.lmn.pub.ro/~bytemare/              |
------------------------------------------------------------------------------

- Raw text -


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