[maemo-developers] [maemo-developers] gcc options for smallest size, best speed, etc
From: Clemens Eisserer linuxhippy at gmail.comDate: Fri Apr 28 13:29:50 EEST 2006
- Previous message: [maemo-developers] gcc options for smallest size, best speed, etc
- Next message: [maemo-developers] gcc options for smallest size, best speed, etc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, > I'd expect -g -Os to do all appropriate code size optimisations > regardless of the architecture. Well "-g" is a bit stupid in this scenario, since this means you tell gcc to optimize for size but include debugging informations too. I would recommend -O2 as the "best" option to use. It does a fine job deciding wether a optimization is really worth the extra bloat, which is especially important when it comes down to the small i-cache the N770's processor has. lg Clemens
- Previous message: [maemo-developers] gcc options for smallest size, best speed, etc
- Next message: [maemo-developers] gcc options for smallest size, best speed, etc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]