at the beginning of .lst there are some infos like these: --------------8<------------------ 1 .file "at91sam7x.c" 2 @ GNU C version 4.2.1 (arm-elf) 3 @ compiled by GNU C version 3.4.5 (mingw special). 4 @ GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=130949 5 @ options passed: -Iapp/at91sam7x/hw -Iapp/at91sam7x -Ibertos/cpu/arm -I. 6 @ -Ibertos -Ibertos/hw -iprefix -MMD -MP -MQ -D__USES_INITFINI__ -D_DEBUG 7 @ -DARCH=0 -D__ARM_AT91SAM7X256__ -mcpu=arm7tdmi -auxbase-strip -ggdb -g3 8 @ -gdwarf-2 -O0 -W -Wformat -Wall -Wundef -Wpointer-arith -Wcast-qual 9 @ -Wcast-align -Wwrite-strings -Wsign-compare -Wmissing-noreturn -Wextra 10 @ -Wstrict-aliasing=2 -Wmissing-prototypes -Wstrict-prototypes -std=gnu99 11 @ -ffunction-sections -fdata-sections -fverbose-asm 12 @ options enabled: -falign-loops -fargument-alias -fbranch-count-reg 13 @ -fcommon -fdata-sections -fearly-inlining -feliminate-unused-debug-types 14 @ -femit-class-debug-always -ffunction-cse -ffunction-sections -fgcse-lm 15 @ -fident -finline-functions-called-once -fivopts -fkeep-static-consts 16 @ -fleading-underscore -fmath-errno -fmove-loop-invariants -fpeephole 17 @ -freg-struct-return -fsched-interblock -fsched-spec 18 @ -fsched-stalled-insns-dep -fshow-column -fsplit-ivs-in-unroller 19 @ -ftoplevel-reorder -ftrapping-math -ftree-loop-im -ftree-loop-ivcanon 20 @ -ftree-loop-optimize -ftree-vect-loop-version -fverbose-asm 21 @ -fzero-initialized-in-bss -mlittle-endian -msched-prolog --------------8<------------------ is it possible to access these infos from inside .c source file (maybe with a predefined macro)? I need at least "options passed" thanks -- Pro pace mundi adversus meganoides tertio Daitarn pugnabo. Nisi times hanc vim, pugna! Massimiliano Cialdi cialdi@xxxxxxxxx massimiliano.cialdi@xxxxxxxxxxxx