Oleg,> - llvm/make tools-only worked okGood.> - llvm-gcc/make all failed with the following message (2nd try): > make[2]: Leaving directory `/home/oleg.smolsky/llvm-gcc-build/gcc' > make[1]: Leaving directory `/home/oleg.smolsky/llvm-gcc-build/gcc' > Checking multilib configuration... > multilib.out is unchanged > Configuring in i686-pc-cygwin/libstdc++-v3 > configure: loading cache ../config.cache > checking build system type... i686-pc-cygwin > checking host system type... i686-pc-cygwin > checking target system type... i686-pc-cygwin > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for i686-pc-cygwin-gcc... > /home/oleg.smolsky/llvm-gcc-build/gcc/xgcc - > B/home/oleg.smolsky/llvm-gcc-build/gcc/ -B/pacific/llvm-gcc/i686-pc-cygwin/bin/ > -B/pacific/llvm-gcc/i686-pc-cygwin/lib/ -isystem > /pacific/llvm-gcc/i686-pc-cygwi > n/include -isystem /pacific/llvm-gcc/i686-pc-cygwin/sys-include > checking for C compiler default output... conftest.exe > checking whether the C compiler works... configure: error: cannot run C > compiled > programs. > If you meant to cross compile, use `--host'. > See `config.log' for more details. > make: *** [configure-target-libstdc++-v3] Error 1I am not sure but it looks like a problem with your Cygwin instillation ? Try a 'make configure' or 'make reconfigure'. Here's a link to the instructions I developed for building LLVM on Cygwin :- http://angray.members.beeb.net/llvm/MakingLLVM.html As far as I know it should hopefully still be correct for the debug build. It failed on the release build though due to a bug in ld, which hopefully will be fixed with time. Aaron
Hello Aaron, Aaron Gray wrote on 14/10/2005 at 10:22 a.m.:> I am not sure but it looks like a problem with your Cygwin > instillation ? Try a 'make configure' or 'make reconfigure'.Hmmm, I was able to build llvm/tools-only.... As for "make configure" - that didn't help.> Here's a link to the instructions I developed for building LLVM on > Cygwin :- > http://angray.members.beeb.net/llvm/MakingLLVM.htmlYes, this is a nice, simple to follow digest of the "Bootstrapping the LLVM C/C++ frontend" document. I've got my own notes, that are identical to it, except for the paths :) So, yes, that's what I've been doing. And yeah, I was able to build a version of LLVM at some state... A few months ago, I think. Debug only, IIRC..... Best regards, Oleg.
On Fri, 14 Oct 2005, Oleg Smolsky wrote:> Hello Aaron, > Aaron Gray wrote on 14/10/2005 at 10:22 a.m.: >> I am not sure but it looks like a problem with your Cygwin >> instillation ? Try a 'make configure' or 'make reconfigure'. > Hmmm, I was able to build llvm/tools-only.... As for "make configure" - > that didn't help. > >> Here's a link to the instructions I developed for building LLVM on >> Cygwin :- >> http://angray.members.beeb.net/llvm/MakingLLVM.html > Yes, this is a nice, simple to follow digest of the "Bootstrapping the > LLVM C/C++ frontend" document. I've got my own notes, that are > identical to it, except for the paths :) So, yes, that's what I've > been doing.Looks nice. Would you guys be interested in integrating this into the Getting Started Guide?> And yeah, I was able to build a version of LLVM at some state... A few > months ago, I think. Debug only, IIRC.....In order to have a high-quality cygwin release, we should try to get the issues fixed whatever they are... -Chris -- http://nondot.org/sabre/ http://llvm.org/
>> Here's a link to the instructions I developed for building LLVM on >> Cygwin :- >> http://angray.members.beeb.net/llvm/MakingLLVM.html > Yes, this is a nice, simple to follow digest of the "Bootstrapping the > LLVM C/C++ frontend" document. I've got my own notes, that are > identical to it, except for the paths :) So, yes, that's what I've > been doing.Right.> And yeah, I was able to build a version of LLVM at some state... A few > months ago, I think. Debug only, IIRC.....I am afraid I am unable to verify things at this end any thurther till the weekend. Hopefully someone else can put any light on the situation. Otherwise I will do a CVS build on Cygwin at the weekend. Aaron
Oleg, I downloaded a new version of Cygwin. Downloaded fresh llvm and llvm-gcc CVS. And llvm and llvm-gcc build fine, on debug. I do the release version tomorrow and see if new Cygwin has fixed things on the 'ld' front. There were a few oddities such as LLVMGCCDIR and a few more unexpected failures on 'make check' but otherwise fine. So I suggest you download a fresh Cygwin install ??? Aaron