Cygwin 64 bootstrap script

Peter Rosin peda@lysator.liu.se
Thu Feb 14 23:57:00 GMT 2013


On 2013-02-14 04:51, Yaakov (Cygwin/X) wrote:
> On Wed, 13 Feb 2013 19:47:02 +0100, Corinna Vinschen wrote:
>> for those who want to build cross and native toolchains from scratch, I
>> uploaded a script called "bootstrap.sh" to
>> ftp://cygwin.com/pub/cygwin/64bit/
> 
> FYI, cygwin-to-cygwin64 cross-compiler packages with your latest patches
> are being uploaded to Ports right now:

I tried your cross-compiler, and wonder if the below is expected?

Cheers,
Peter

$ uname -srvmo
CYGWIN_NT-6.1-WOW64 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 Cygwin
$ cat t.c
int main(void) { return 0; }
$ x86_64-pc-cygwin-gcc -o t t.c
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -ladvapi32
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lshell32
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -luser32
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lkernel32
collect2: error: ld returned 1 exit status
$ x86_64-pc-cygwin-gcc -o t t.c -L/usr/x86_64-pc-cygwin/sys-root/usr/lib/w32api 
$ 



More information about the Cygwin-developers mailing list