Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!coolidge From: coolidge@cassius.cs.uiuc.edu (John Coolidge) Newsgroups: comp.unix.aux Subject: G++ (and gcc) tricks and traps Message-ID: <1990Mar21.172438.19979@brutus.cs.uiuc.edu> Date: 21 Mar 90 17:24:38 GMT Sender: news@brutus.cs.uiuc.edu Reply-To: coolidge@cs.uiuc.edu Organization: U of Illinois, CS Dept., Systems Research Group Lines: 21 A couple notes about running G++ that I've found useful. First, I made symbolic links: /gcc-as -> /usr/lib/big/as /gcc-ld -> /usr/lib/big/ld This causes gcc and g++ to always use the big versions of as and ld. Using the small (default) version tends to break large programs (like gcc and g++ :-) ), and is pretty low-cost for small programs. The include files for G++ are not all that well tuned to A/UX. At a minimum, you should always define 'USG' when compiling with the g++ header files. Probably someone should go through them and fix them up for A/UX. Any volunteers, or do I get to do this one? :-) --John -------------------------------------------------------------------------- John L. Coolidge Internet:coolidge@cs.uiuc.edu UUCP:uiucdcs!coolidge Of course I don't speak for the U of I (or anyone else except myself) Copyright 1990 John L. Coolidge. Copying allowed if (and only if) attributed. You may redistribute this article if and only if your recipients may as well.