[En-Nut-Discussion] !help! my code just exploded

Ole Reinhardt ole.reinhardt at embedded-it.de
Tue Mar 16 15:03:15 CET 2010


Hi!

> Sometimes ago I have changed a flag in Makevars.gcc from -Os to -O0. With
> the old version (-Os) It works. :-)
> But now, how can I set some flags (-O0 -pedantic -std=gnu99) for my
> Code/application?
> Can I set these Flags in my specific Makefile!?

Shure... Just add a 

CFLAGS += -O0 -pedantic -std=gnu99

Why do you want -O0 and -std=gnu99? Just curious... Are you that
-pedantic ;-) ?

Bye,

Ole

-- 

Thermotemp GmbH, Embedded-IT

Embedded Hard-/ Software and Open Source Development, 
Integration and Consulting

Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen - 
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97

Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280 




More information about the En-Nut-Discussion mailing list