This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
Re: -static not working with gcc 4.3.4
- From: Gary <cygwin at garydjones dot name>
- To: cygwin-talk at cygwin dot com
- Date: Tue, 19 Oct 2010 19:27:30 +0200
- Subject: Re: -static not working with gcc 4.3.4
- References: <20101017005857.GA28900@const.famille.thibault.fr> <2BF01EB27B56CC478AD6E5A0A28931F201762C09@A1DAL1SWPES19MB.ams.acs-inc.net> <4CBC490B.9060704@lysator.liu.se>
- Reply-to: The Vulgar and Unprofessional Cygwin-Talk List <cygwin-talk at cygwin dot com>
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)