Re: Basic gcc compilation on cygwin64

2013-07-23 Thread Richard H Lee
On 23/07/2013 13:35, JonY wrote: Try rerunning setup again, there was a mistake in the w32api-runtime -1 release. -2 should have this fixed. Yeah, I just installed xxd 5 mins ago and I saw w32api-runtime flash up on the download bar. I figured that was the package and gave gcc another shot. I

Re: Basic gcc compilation on cygwin64

2013-07-23 Thread JonY
On 7/23/2013 07:51, Richard H Lee wrote: > I'm trying to compile the following basic program on cygwin64: > > int main() { > ; > return 0; > } > > But I get the following errors: > > $ gcc test.c > /usr/lib/gcc/x86_64-pc-cygwin/4.8.1/../../../../x86_64-pc-cygwin/bin/ld: > cannot find -ladvap

Basic gcc compilation on cygwin64

2013-07-22 Thread Richard H Lee
I'm trying to compile the following basic program on cygwin64: int main() { ; return 0; } But I get the following errors: $ gcc test.c /usr/lib/gcc/x86_64-pc-cygwin/4.8.1/../../../../x86_64-pc-cygwin/bin/ld: cannot find -ladvapi32 /usr/lib/gcc/x86_64-pc-cygwin/4.8.1/../../../../x86_64-pc-c