------- Comment #15 from manu at gcc dot gnu dot org 2007-05-24 16:37 ------- (In reply to comment #14) > > The flag just disables an optimisation. If you want to disable optimisations > just use -O0. On the other hand, shouldn't -ffreestanding prevent udivdi3 ? > What about -fno-builtin-udivdi3 ? >
OK. I found the answer myself: PR16470. So if you want a freestanding environment, use static libgcc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32044