[LLVMdev] Starting with LLVM-GCC on Cygwin

Alex Vinokur alexvn at go.to
Tue Oct 5 01:39:51 PDT 2004


Hi,

I would like to use LLVM-GCC to compare its performance with other compilers.
Something like testsuite "Computing very large Fibonacci numbers" at
http://article.gmane.org/gmane.comp.lang.c%2B%2B.perfometer/37.


My environment:
-----------------
Windows 2000
Cygwin
$ uname -srom
CYGWIN_NT-5.0 1.5.11(0.116/4/2) i686 Cygwin
-----------------

What do I have to download from
http://sourceforge.net/project/showfiles.php?group_id=119938&package_id=130753&release_id=270245:
* executables(?) cfrontend-1.3.i386-unknown-freebsd5.2.1.tar.gz ?
* sources cfrontend-1.3.source.tar.gz ?

1. Question about executables.
-------------------------------
After gunzip
* cfrontend-1.3.i386-unknown-freebsd5.2.1.tar.gz
  and
* tar -xf cfrontend-1.3.i386-unknown-freebsd5.2.1.tar
I see that cfrontend/x86/llvm-gcc/bin contains the following files:

c++
cpp
g++
gcc
gccbug
gcov
i386-unknown-freebsd5.2.1-c++
i386-unknown-freebsd5.2.1-g++
i386-unknown-freebsd5.2.1-gcc
i386-unknown-freebsd5.2.1-gcc-3.4-llvm

Are they executables?

Which of them should I use on Cygwin?


2. Question about sources.
--------------------------
http://llvm.cs.uiuc.edu/docs/CFEBuildInstrs.html#cygwin contains the following instruction:
Configure and build the LLVM libraries and tools using:
 % cd llvm
 % ./configure [options...]
 % gmake tools-only

2.1. Which options should I use with  ./configure [options...]?

2.2. Cygwin doesn't have gmake:
$ which gmake
gmake: Command not found.

Could I use make?


-- 
 Alex Vinokur
     email: alex DOT vinokur AT gmail DOT com
     http://mathforum.org/library/view/10978.html
     http://sourceforge.net/users/alexvn







More information about the llvm-dev mailing list