Re: -nostdlib option!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 15.02.2011 08:36, schrieb ali hagigat:
  I wonder if anybody
can write a simple C program and compile it with -nostdlib so that the
compiler needs one of mem functions and the compiler stops with an
error.


Try struct assigments (e.g. struct foo bar = baz). Perhaps if they're big enough gcc doesn't inline the implicit memcpy anymore.

Best regards.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux