[LLVMdev] Building llvm under cygwin

Reid Spencer reid at x10sys.com
Thu Aug 3 08:00:24 PDT 2006


I think the line-ending problem is a red herring. I saved the file
directly from Anton's email on Linux and it looked fine. Perhaps it was
a cut & paste issue or some other artifact of saving the file on Windows
from email.  In any event, it should not be delivered in that form via
CVS or a tarball.

The original symptom:
     > Can't find a library with no dependencies
        > at /llvm/obj/Debug/bin/llvm-config lin
        > e 420, <DATA> line 30.

is caused when llvm-config returns empty or no libraries back to the
llvm-gcc4 makefile system. We ran into this about a week ago and applied
some changes to llvm-config to correct the library dependencies and it
went away.  That was to get llvm-config to work correctly on PPC/Darwin.
It looks like a similar process is needed for cygwin/mingw

I have replicated the problem using the llvm-config that Anton V
supplied. I'll take a look at what might be causing this.


On Thu, 2006-08-03 at 16:36 +0400, Anton Korobeynikov wrote:
> Hello,
> Thu, 3 Aug 2006 15:41:58 +0400 you wrote:
> > > here it is in the attachment :)
> > Well. There seems to be some additional dependencies not seen here.
> I was wrong. There are some things looking very bad:
> 1. Line endings. CRLF mixed with CR. Also LF in the middle of the line
> 2. Two lines (around libLLVMTarget.a) looks merged together.
> However, when I fix that problems i'm starting to get rather cryptic
> messages about usage of uninitialized hash element. Will investigate :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060803/7e766680/attachment.sig>

More information about the llvm-dev mailing list