Cygwin Compile Fails for me too.

It seems awfully tricky to get llvm working on a windows machine.
I just want to use the tools, since I want to write my own front end.

Here's where I get stuck
llvm[2]: Linking Debug executable burg
/usr/lib/gcc/i686-pc-cygwin/3.4.1/../../../libstdc++.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status
make[2]: *** [/usr/src/llvm/Debug/bin/burg.exe] Error 1
make[2]: Leaving directory `/usr/src/llvm/utils/Burg'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/src/llvm/utils'
make: *** [all] Error 1

I tried running ranlib on libstdc++.a to no avail. Perhaps I'm using the wrong tools in my Cygwin setup?
I've got gcc 3.4.1. Any help would be appreciated. Should I try the Mingw compiler?

It seems awfully tricky to get llvm working on a windows machine.
I just want to use the tools, since I want to write my own front end.

I tried running ranlib on libstdc++.a to no avail. Perhaps I'm using the
wrong tools in my Cygwin setup?
I've got gcc 3.4.1. Any help would be appreciated. Should I try the
Mingw compiler?

Okay, the new release has (nearly) fixed things now.

Try the new 1.5 releases of llvm and cfrontend if you have not allready.

Do follow these instructions :-

        http://llvm.cs.uiuc.edu/docs/CFEBuildInstrs.html

I _would_ suggest updating your GCC to 3.4.3 as the document recommends.
You must use binutils version 2.15

There still seems to be a problem later on with step 9 and 'make check' failing though.

If you need any more help, do ask.

Aaron

Hi Matthew,

which version of ld/binutils are you using?

Henrik