[comp.os.os9] GCC executable sent to FTP, G++ hint

stp@bernina.ethz.ch (Stephan Paschedag) (02/15/91)

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
______________________________________________________________________________