Is the MinGW user's list on the web? Can you give me a link to the thread? (What's IIRC?) Thanks. On Sat, 22 Apr 2006, Oscar Fuentes wrote:> Greg Pettyjohn <gregp at ccs.neu.edu> writes: > > > I've blown a couple of weekends trying to build under MinGW. > > > > I can build the llvm tools with only a couple of minor hassles, but can't > > seem to make any headway with the C Front End > > > > Most errors I run into involve not being able to find header files. > > The most frustrating part is that the error messages report that the file > > can't be found, and then proceed to give a path to where the file actually > > is located. > > This sounds like the problems people face when building a regular FSF > gcc release under MinGW. There was some discussion about this topic > recently on MinGW user's mailing list. Some workarounds were found, > using absolute paths on the config scripts, IIRC. > > [snip] > > -- > Oscar > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
Greg Pettyjohn <gregp at ccs.neu.edu> writes:> Is the MinGW user's list on the web?Look on www.mingw.org -> mailing list> Can you give me a link to the thread?Sorry, no time for that. Once on the mailing list archives, do a search for 'configure'.> (What's IIRC?)If I Remember Correctly. By the way, what's your configure command? -- Oscar
I'm using a little shell script: BUILD_ROOT=/home/llvm-1.7/cfrontend PREFIX="$BUILD_ROOT/install" LOCAL_BUILD_DIR="$BUILD_ROOT/build" SOURCE_DIR="$BUILD_ROOT/src" echo $__me: Building $TARGET echo $__me: BUILD_ROOT == $BUILD_ROOT echo $__me: SOURCE_DIR == $SOURCE_DIR echo $__me: LOCAL_BUILD_DIR == $LOCAL_BUILD_DIR echo $__me: PREFIX == $PREFIX confopts="--prefix=$PREFIX" confopts="$confopts --disable-threads" confopts="$confopts --disable-nls" confopts="$confopts --disable-shared" confopts="$confopts --enable-languages=c,c++" confopts="$confopts --disable-c-mbchar" confopts="$confopts --program-prefix=llvm-" echo $__me: confopts == $confopts if [ -e $LOCAL_BUILD_DIR ]; then rm -rf $LOCAL_BUILD_DIR; fi mkdir $LOCAL_BUILD_DIR && cd $LOCAL_BUILD_DIR ../src/configure --srcdir=$SOURCE_DIR --includedir=/C/msys/1.0/mingw/include --libdir=/C/msys/1.0/mingw/lib --target=mingw32 $confopts make CFLAGS=-O LIBCFLAGS+=-g LIBCFLAGS+=-O2 LIBCXXFLAGS+=-g LIBCXXFLAGS+=-O2 LIBCXXFLAGS+=-fno-implicit-templates LDFLAGS=-s all On Sun, 23 Apr 2006, Oscar Fuentes wrote:> Greg Pettyjohn <gregp at ccs.neu.edu> writes: > > > Is the MinGW user's list on the web? > > Look on www.mingw.org -> mailing list > > > Can you give me a link to the thread? > > Sorry, no time for that. Once on the mailing list archives, do a > search for 'configure'. > > > (What's IIRC?) > > If I Remember Correctly. > > By the way, what's your configure command? > > -- > Oscar > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >