basien@pemcom.pem-stuttgart.de (Tillman Basien) (02/28/91)
michael@yonder.UUCP (Michael E. Haws) writes: >Over the weekend I upgraded my SCO Xenix from 2.3.1 to 2.3.2. >I took the upgrade path as opposed to the reinstallation. >The problem is that now my compiler (v 2.2.1) generates slightly >different object modules for some source files, and my applications >ending up being slightly larger. The code appears to run okay, but >I haven't tested it in depth. >Is this to be expected or have I somehow screwed up the installation? >Anybody else seen this? It looks like a problem we have had! After we compiled our sources rhe object files were very large. After some analysing work we found that the compiler does not initialize is tables for the static functions. Pleas include in your source, perhaps in stdio.h the follwing lines and try again. #ifndef _V_D_U_M_M_Y #define _V_D_U_M_M_Y static void _v_d_u_m_m_y(void); static void _v_d_u_m_m_y(){} #endif #ifndef _I_D_U_M_M_Y #define _I_D_U_M_M_Y static int _i_d_u_m_m_y(void); static int _i_d_u_m_m_y(){return 0;} #endif Tillmann -- basien@PEM-Stuttgart.de Dipl.-Ing. Tillmann A. Basien PEM Programmentwicklungsgesellschaft Vaihinger Str.49, PostBox 810165 fuer Microcomputer mbH FRG 7000 Stuttgart 80 voice: +49-711-713045 fax: +49-711-713047