-nostdlib option!

Thomas Martitz thomas.martitz@student.htw-berlin.de
Tue Feb 15 14:56:00 GMT 2011


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.



More information about the Gcc-help mailing list