<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<BR>Thanks John, for the update to the Makefiles. I did an "svn update" and am now able to build all the libraries. There were some problems building the poolalloc runtime but I'm not really interested in that. <BR>
 <BR>
Andrew, thanks for the patch. I am trying to add DSA to opt as you suggested. What should the contents of LinkDSA.h be ? I would appreciate it if you could send me a copy of that file.<BR>
 <BR>
Thanks again for all the help. It looks like I'm closer to getting to use DSA.<BR>
 <BR>
--Patrick<BR>
 <BR>> Date: Tue, 9 Mar 2010 11:26:52 -0600<BR>> Subject: Re: [LLVMdev] Changed: Build errors for poolalloc using MinGW/gcc 4.4.0<BR>> From: andrewl@lenharth.org<BR>> To: <A href="mailto:criswell@uiuc.edu">criswell@uiuc.edu</A><BR>> CC: wpats@hotmail.com; llvmdev@cs.uiuc.edu<BR>> <BR>> The patch below adds dsa and some of poolalloc to opt. It should be<BR>> simple enough to extend to all of poolalloc by adding more classes to<BR>> LinkDSA.h.<BR>> <BR>> Andrew<BR>> <BR>> Index: tools/opt/opt.cpp<BR>> ===================================================================<BR>> --- tools/opt/opt.cpp (revision 97995)<BR>> +++ tools/opt/opt.cpp (working copy)<BR>> @@ -38,6 +38,12 @@<BR>> #include "llvm/LinkAllVMCore.h"<BR>> #include <memory><BR>> #include <algorithm><BR>> +<BR>> +#include "dsa/DSGraph.h"<BR>> +#include "dsa/DataStructure.h"<BR>> +#include "poolalloc/RunTimeAssociate.h"<BR>> +#include "LinkDSA.h"<BR>> +<BR>> using namespace llvm;<BR>> <BR>> // The OptimizationList is automatically populated with registered<BR>> Passes by the<BR>> Index: tools/opt/Makefile<BR>> ===================================================================<BR>> --- tools/opt/Makefile (revision 97995)<BR>> +++ tools/opt/Makefile (working copy)<BR>> @@ -12,3 +12,8 @@<BR>> LINK_COMPONENTS := bitreader bitwriter asmparser instrumentation scalaropts ipo<BR>> <BR>> include $(LEVEL)/Makefile.common<BR>> +<BR>> +CPP.Flags += -I../../projects/poolalloc/include<BR>> +<BR>> +ExtraLibs := ../../projects/poolalloc/$(BuildMode)/lib/libpoolalloc.a \<BR>> + ../../projects/poolalloc/$(BuildMode)/lib/libLLVMDataStructure.a<BR>> <BR>> <BR>> On Tue, Mar 9, 2010 at 11:13 AM, John Criswell <criswell@uiuc.edu> wrote:<BR>> > Dear Patrick and Antron,<BR>> ><BR>> > I've modified the Makefiles in the poolalloc module so that they do not<BR>> > build shared libraries on MingW or Cygwin.  Patrick, if you do an "svn<BR>> > up" you should be able to compile the poolalloc project now.<BR>> ><BR>> > -- John T.<BR>> ><BR>> > _______________________________________________<BR>> > LLVM Developers mailing list<BR>> > LLVMdev@cs.uiuc.edu         http://llvm.cs.uiuc.edu<BR>> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev<BR>> ><BR>                                          </body>
</html>