From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joern Rennecke To: ovidiu@cup.hp.com (Ovidiu Predescu) Cc: amylaar@cygnus.co.uk, nickc@cygnus.com, pb@nexus.co.uk, egcs@egcs.cygnus.com Subject: Re: Objective C and STRUCTURE_SIZE_BOUNDARY Date: Mon, 31 May 1999 21:36:00 -0000 Message-ID: <199905281717.SAA02127@phal.cygnus.co.uk> References: <199905281659.JAA13428@hpcll563.cup.hp.com> X-SW-Source: 1999-05n/msg00817.html Message-ID: <19990531213600.rdq9m_rzHpaot62cOgqtSDkqhhhRvw5KgR-OGiy1RqY@z> > That's a good idea, but what we actually need is a way to have the value > assigned to a variable inside the ObjC runtime library. Since the library is > compiled once, when you build EGCS, we need a way to change that variable in > the library depending on how the user program is compiled. As Nick said, only small pieces of the program are supposd to be compiled with this option, and they shouldn't be using any library functions or other parts of the program that use structures with differing layout in their interface. If you really want to compile the entire program with a structure size boundary of 8, you should build all libraries first to match the user code.