least with gcc 2.9+, you can use -g and -O just fine together, and in a lot of cases you want to keep the optimizations in. -Wade Majors wade at ezri.org