http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49211
Hans-Peter Nilsson <hp at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hp at gcc dot gnu.org --- Comment #1 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2011-05-30 14:24:52 UTC --- With -nostdlib, you're basically disabling the startup code that is supposed to setup everything. If it still doesn't work without -nostdlib, then I'll have a look.