~ > should produce similar (well almost) code. However, when in latter case I
~ > run foo, I get Bus error(core dumped) message. Ideas what goes wrong here?
~ > I think that's something to do with alignment,  but not sure.
~ 
~ Odd. Try adding `-g' to both commands and running the resulting
~ program under gdb.


 oops..:-) call me stupid, :) while making a bogus code I overlooked some
simple thing (probably played too much with shell coding that time :-))
(it should be foo[]="bababa", not foo=...) :-) 


however, why would generate bus error? I was told that this happens when
data is not 'aligned' to 16/32/XX frame. Could anyone please clarify this
thing? 


thanks again,
 Fyodor

Reply via email to