1

As far as I understand, libgcc implements some libc functions which are called into when a program uses a built-in and gcc decides not to implement it by some inline assembly. Is it however possible to have gcc implement all built-ins as calls to libgcc always?

Troels Folke
  • 917
  • 2
  • 9
  • 12

1 Answers1

2

Use: -fno-builtin, or:

-fno-builtin-function, for specific functions. e.g., -fno-builtin-memcpy

Brett Hale
  • 21,653
  • 2
  • 61
  • 90