------- Comment #14 from manu at gcc dot gnu dot org 2007-05-24 16:27 ------- (In reply to comment #13) > > To sum up; as a user, and, in the UNIX spirit (I started with the 7th > edition), > I just want freedom in choosing the facilities and features gcc has to offer. > I > hope that this or similar flags provide me with the capability to banish > libgcc > and similar facilities from my programs under the C free-standing > specification. >
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 ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32044