<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18854">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hi,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Not sure if this really helps, but I suppose it 
cannot hurt. </FONT><FONT size=2 face=Arial>All </FONT><FONT size=2 
face=Arial>of the</FONT></DIV>
<DIV><FONT size=2 face=Arial>remarks concern the build environment rather than 
the source/tools.</FONT></DIV>
<DIV><FONT size=2 face=Arial>Nothing major except the last point which I suspect 
to be an error</FONT></DIV>
<DIV><FONT size=2 face=Arial>on my side.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>1) platform details from 
"configure"</FONT></DIV>
<DIV><FONT size=2 face=Arial>2) source & output dir tree 
structure</FONT></DIV>
<DIV><FONT size=2 face=Arial>3) sequence of actions</FONT></DIV>
<DIV><FONT size=2 face=Arial>4) report</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Hope this helps</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Regards</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Mark</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV>
<DIV><FONT size=2 face=Arial>1) platform details from 
"configure"</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV></DIV>
<DIV>
<DIV><FONT size=2 face=Arial>## --------- ##<BR>## Platform. ##<BR>## --------- 
##</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>hostname = emerald<BR>uname -m = i686<BR>uname -r = 
1.7.1(0.218/5/3)<BR>uname -s = CYGWIN_NT-5.1<BR>uname -v = 2009-12-07 
11:48<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial>configure:2804: checking for C compiler 
version<BR>configure:2811: gcc --version >&5<BR>gcc (GCC) 4.3.4 20090804 
(release) 1<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>
<DIV><FONT size=2 face=Arial>2) source & output dir tree 
structure</FONT></DIV>
<DIV>/cygdrive/g/tools/cygwin/compilers/llvm/llvm-2.6    
                
                
                // 
OBJ_ROOT (for llvm-gcc)</DIV>
<DIV>/cygdrive/g/tools/cygwin/compilers/llvm/llvm-2.6/Release                       
                // 
LLVM output</DIV>
<DIV>/cygdrive/g/tools/cygwin/compilers/llvm/llvm-2.6/llvm-gcc/llvm-gcc4.2-2.6.source      
// LLVM-GCC 
sources</DIV>/cygdrive/g/tools/cygwin/compilers/llvm/llvm-2.6/llvm-gcc/install</FONT></DIV>
<DIV><FONT size=2 face=Arial>
<DIV>/cygdrive/g/tools/cygwin/compilers/llvm/llvm-2.6/llvm-gcc/obj</DIV>
<DIV>/cygdrive/g/tools/cygwin/compilers/llvm/llvm-2.6/projects/llvm-test                           
// LLVM test sources</DIV></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> </DIV></FONT>
<DIV><FONT size=2 face=Arial>
<DIV><FONT size=2 face=Arial>3) sequence of actions</FONT></DIV>
<DIV>in "/cygdrive/g/tools/cygwin/compilers/llvm/llvm-2.6"</DIV>
<DIV>./configure<BR>make tools-only<BR></DIV>
<DIV>in "/cygdrive/g/tools/cygwin/compilers/llvm/llvm-2.6/llvm-gcc/obj"</DIV>
<DIV>../llvm-gcc4.2-x.y.source/configure 
--prefix=/cygdrive/g/tools/cygwin/compilers/llvm/llvm-2.6/llvm-gcc/install 
--program-prefix=llvm- 
--enable-llvm=/cygdrive/g/tools/cygwin/compilers/llvm/llvm-2.6 
--enable-languages=c,c++<BR>make LLVM_VERSION_INFO=2.6<BR>make install<BR></DIV>
<DIV>
<DIV>in "/cygdrive/g/tools/cygwin/compilers/llvm/llvm-2.6"</DIV>
<DIV>./configure 
--with-llvmgccdir=/cygdrive/g/tools/cygwin/compilers/llvm/llvm-2.6/llvm-gcc/install/bin<BR>make<BR>make 
install</DIV>
<DIV> </DIV></DIV>
<DIV>in 
/cygdrive/g/tools/cygwin/compilers/llvm/llvm-2.6/projects/llvm-test</DIV>
<DIV>./configure<BR>make<BR></DIV>
<DIV> </DIV>
<DIV>4) report</DIV>
<DIV>- From the readme's FAQ and docs it is not so clear that there is a 
circular</DIV>
<DIV>  dependency between llvm and llvm-gcc, to save recompile in (3) 
one ought</DIV>
<DIV>  to use "./configure" already with 
"--with-llvmgccdir"</DIV></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>- after llvm configure, the makefile as a linker 
option incompatble with gcc 4.3.4</FONT></DIV>
<DIV><FONT size=2 face=Arial>  it suggests to change:</FONT></DIV>
<DIV><FONT size=2 face=Arial>#RDYNAMIC := -Wl,-export-dynamic<BR>RDYNAMIC := 
-Wl,-export-all-symbols<BR></FONT><FONT size=2 face=Arial></FONT></DIV>
<DIV><FONT size=2 face=Arial>- llvm configure reports:</FONT></DIV>
<DIV><FONT size=2 face=Arial>  mmap() of a fixed address is required but 
not supported</FONT></DIV>
<DIV><FONT size=2 face=Arial>  it does not seem to be a requirement as 
the build process succeeds though</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>- the llvm build process has intermittent errors 
with conftest.c or contest.exe being unaccessible</FONT></DIV>
<DIV><FONT size=2 face=Arial>  my guess is that the cygwin emulation is a 
bit slow and that the processes does not wait</FONT></DIV>
<DIV><FONT size=2 face=Arial>  to check for the status of the 
files</FONT></DIV>
<DIV><FONT size=2 face=Arial>  -> As certain tests fails but configure 
completes succesfully I have no idea on the impact</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>- the llvm-gcc build process has MANY intermittent 
errors with conftest.c or contest.exe being unaccessible</FONT></DIV>
<DIV><FONT size=2 face=Arial>  probably same reason as above. here the 
build process terminates in error but restarting (quite a few 
times)</FONT></DIV>
<DIV><FONT size=2 face=Arial>  results in a (apparently) operational 
llvm-gcc (compiles hello.c & llvm --help gives proper version)</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>- the llvm-gcc build process fails regurarly, but 
not systematically, on a gcc test</FONT></DIV>
<DIV><FONT size=2 face=Arial>  "can gcc produce an executable ... 
No"</FONT></DIV>
<DIV><FONT size=2 face=Arial>  typically at the later stages</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>- running the tests in .../projects/llvm-tests 
fails systematically</FONT></DIV>
<DIV><FONT size=2 face=Arial>  make cannot resolve *.rbc dependencies in 
the first single source test</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>- running the hello.c test (from the web tutorial) 
produces hell.exe and hello.bc, but not "lli hello.bc" (see below)</FONT></DIV>
<DIV><FONT size=2 face=Arial>  lli cannot find "put()" (cannot find the 
dynamic lib containing "put()") I may have simply missed a cygwin</FONT></DIV>
<DIV><FONT size=2 face=Arial>  specific dynamic link flag / configure 
option (the web doc make mention of dynamic linkage on cygwin with</FONT></DIV>
<DIV><FONT size=2 face=Arial>  the platform notes, so perhaps this is 
what's meant)</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> </FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> </DIV></FONT></DIV></BODY></HTML>