Re: GNU ld -O option breaks compilation

2013-08-16 Thread Václav Zeman
On 16 August 2013 12:48, Corinna Vinschen wrote: > On Aug 16 10:50, Václav Zeman wrote: >> I am getting compilation error when I try to use the GNU ld's -O option: >> >> `--> cat test.c >> int >> main () >> { >> return 0; >> } >> >> `--> gcc -Wl,-O -o test test.c >> /usr/lib/gcc/x86_64-pc-cygwi

Re: GNU ld -O option breaks compilation

2013-08-16 Thread Corinna Vinschen
On Aug 16 10:50, Václav Zeman wrote: > I am getting compilation error when I try to use the GNU ld's -O option: > > `--> cat test.c > int > main () > { > return 0; > } > > `--> gcc -Wl,-O -o test test.c > /usr/lib/gcc/x86_64-pc-cygwin/4.8.1/../../../../lib/libcygwin.a(libcmain.o): > In functi