How to disable GCC optimization

Wed Sep 11 05:44:00 GMT 2013

sorry we tried -O0 it not -o0

Please find nm commands output below

$nm rand_hfile.o | grep rand_

08f9eeb6 T rand_close
08f9e4e9 T rand_open

$nm  rand_handler.sct | grep rand_

Out put shows nothing
(rand_close and rand_open are not used anywhere in the executable)

$nm | grep rand_

U  rand_close
U  rand_open

View this message in context:
Sent from the gcc - Help mailing list archive at

More information about the Gcc-help mailing list