Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!ubc-cs!uw-beaver!milton!dali.cs.montana.edu!uakari.primate.wisc.edu!samsung!sdd.hp.com!spool.mu.edu!uunet!mcsun!cernvax!chx400!chx400!bernina!stp From: stp@bernina.ethz.ch (Stephan Paschedag) Newsgroups: comp.os.os9 Subject: GCC executable sent to FTP, G++ hint Message-ID: <1991Feb14.171113.8416@bernina.ethz.ch> Date: 14 Feb 91 17:11:13 GMT Reply-To: stp@bernina.UUCP (Stephan Paschedag) Organization: Swiss Federal Institute of Technology (ETH), Zuerich Lines: 36 Hi ! I've also sent the gcc executables to the ftp server . gpp has been moved to pub/OSK/GCC . this is NOT the original version of gcc, I've done some enhancements (and some will follow). gcc has a new option : -mlong-calls . this forces the compiler to generate code for reaching distant functions in the same module (this was required for compiling g++ !). I've also fixed a bug with large auto-variables (32k..64k). global varaibles are no longer declared as 'ds.x' but as 'com.x'. I've changed cccp to look for header files in the standard directories '/dd/defs' and '/h0/defs'. c++ includes should be placed in '/dd/defs/cc' or '/h0/defs/cc', if they are not found the standard c include directories (defined above) are searched. If you want to use uWare library functions with varags (printf, scanf...) they have to be declared as follows : extern "MWC" { extern printf(constr char* ...); } because GCC and MWC use different calling interfaces for functions with varargs. I hope I've solved your first problems, if there are more questions or comments, please email then to me ! best regards stephan ============================================================================== OS/2 & PS/2 : half an operating system for half a computer Stephan Paschedag stp@ethz.UUCP MPL AG, Zelgweg 12, CH-5405 Baden-Daettwil ..!mcvax!cernvax!chx400!ethz!stp ______________________________________________________________________________