RE: [LLVMdev] Cygwin port

Hi all,

Please try it out, if it doesn't work, please tell us what's
wrong, or, better yet, submit a patch. :slight_smile:

Alright, here are the results of building the latest llvm from CVS under
cygwin:

lib\Debugger\SourceFile.cpp
  needs #include <assert.h> when building with gcc 3.3.3

tools\gccld\gccld.cpp line 128
tools\llvm-ld\llvm-ld line 318
  need sys::CopyFile(sys::Path(OutputFilename),
                         sys::Path(llvmstub));

Now, when linking gccld, the linker complains about an undefined
reference to llvm::sys::CopyFile(). That's where I got stuck:
  lib\System\Path.cpp includes platform\Path.cpp
  platform should be cygwin
  Cygwin\Path.cpp includes Unix\Path.cpp which defines this
function

Oleg.

Hi Oleg,

I've been doing a Cygwin build today too. All these problems have been
updated in the current CVS. Please update your tree and give it another
try.

Thanks,

Reid.