-static not working with gcc 4.3.4

Gary cygwin@garydjones.name
Tue Oct 19 17:27:00 GMT 2010


Peter Rosin wrote:
> Den 2010-10-18 14:45 skrev Nellis, Kenneth:
>>> $ cat test.c
>>> int main(void) {}
>> 
>> Please, why such a large test case when the following would
>> have been perfectly adequate to demonstrate the problem?:
>> 
>> $ cat test.c
>> main() {}
>> $
>
> Don't throw rocks in glass houses. You have (at least) 20%
> absolute crap in your version.
>
> $ cat test.c
> main(){}$ 

That's not complete crap then, only 20% crap.

BTW, isn't main supposed to be

  int main(void) { return 0; }

or alternatively

  int main(int argc, char *argv[]) { return 0; }

?

-- 
Gary (100% pedant, who didn't read the original thread and so, as usual,
      may not know what he is talking about)



More information about the Cygwin-talk mailing list