Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Still Trying to Build on MINGW"
2006 Apr 23
2
[LLVMdev] Building CFE in Mingw
Hello, all.
Just found this file in my e-mail atchive, hope it will be useful for somebody.
===cut=here===
Some small rules:
1) No blankspace in the paths to the top-level directories.
2) Add paths to binaries to your system PATH variable.
3) Use short paths to top-level directories.
1. Some checks & preparations.
1) Be sure, that you're using right make version:
$ make
2006 May 06
0
[LLVMdev] Still Trying to Build on MINGW
Hello, Greg.
You wrote Saturday, May 6, 2006, 10:54:19 PM:
GP> Is it possible to build using MINGW, but without using msys?
GP> All along I've been assuming that I needed msys.
Unfortunately, no (especially, if you want to build gcc). LLVM and gcc
uses auto* machinery, which depends on sh, sed, sort, etc. So, you should
use (at least for configure) some amount of
2006 Apr 23
0
[LLVMdev] Re: Building CFE in Mingw
Anton Korobeynikov <asl at math.spbu.ru> writes:
[snip]
> 2) Problem: Complains about gthr-default.h file.
> Resolution: Grab gcc/gcc/gthr-win32.h file and copy it to gthr-default.h
... so --enable-threads=win32 is broken... good to know.
> 3) Problem: Complains about "CL_ObjCXX" and simular ("CL_") during
> compilation
2006 Apr 29
3
[LLVMdev] Building LLVM under Mingw. Part I: tools-only
Hello, Everyone.
Now I have some spare time and I've decided to build LLVM on Mingw.
I've grab the latest 1.7 release (not CVS snapshot). Here are some
issues fixed during the build. Now I'm preparing gcc build. So, I
think, there will some other "parts"
1. Prerequisites
1.1 GCC 3.4.5 from mingw.org site.
$ gcc --version
gcc.exe (GCC) 3.4.5 (mingw special)
Copyright (C)
2006 May 08
0
[LLVMdev] Configuring for the cfrontend build on Mingw
Hello, Greg.
You wrote Sunday, May 7, 2006, 10:46:34 PM:
GP> 3. One potential point of control is the INCLUDES variable found in
GP> cfrontent/gcc/Makefile.in:
GP> INCLUDES = -I. -I$(@D) -I$(srcdir) -I$(srcdir)/$(@D) \
GP> -I$(srcdir)/../include @INCINTL@
Just unpack mingw32's headers & libs (w32api && mingw-runtime) into
prefix directory. And configure script
2006 May 13
0
[LLVMdev] Building Tools on MinGW from CVS
Hello, Greg.
You wrote Saturday, May 13, 2006, 11:12:26 PM:
GP> The problem is that it can't find some symbols: (SymSetOptions,
GP> SymInitialize, SymGetModuleBase, SymFunctionTableAccess, etc.)
GP> I looked on the Web and these functions are in Dbghelp.lib.
GP> Are they also in libimagehlp.a?
Yes, they are. At least im mingw-runtime 3.9 (I'm using this version).
GP>
2006 Apr 29
2
[LLVMdev] Building LLVM under Mingw. Part I: tools-only
Hello, Jeff.
You wrote Saturday, April 29, 2006, 10:45:02 PM:
JC> Yes, I know mingw doesn't support dbghelp. I can still rant about it :)
;) Well. Maybe this library will be included in some next versions of
mingw's win32api package. Anyway, we can make such library just
"on-fly" from the corresponding .dll.
JC> This is what's already there. What changed?
Maybe
2008 May 30
4
[LLVMdev] Possibly Vista-related Windows/MinGW Compilation Issues
Hello, Jonathan
> I thought I'd messed up something related to the linker,
> but I couldn't explain why XP would work using the same steps.
The only thing comes to my mind seeing this: perl from msysDTK works
differently (somehow) on Vista, thus llvm-config is broken which leads
to missed libraries, broken dependencies, etc.
I'd suggest you to compare stuff on different
2008 May 30
0
[LLVMdev] Possibly Vista-related Windows/MinGW Compilation Issues
Anton Korobeynikov wrote:
> Hello, Jonathan
>
>
>> I thought I'd messed up something related to the linker,
>> but I couldn't explain why XP would work using the same steps.
>>
> The only thing comes to my mind seeing this: perl from msysDTK works
> differently (somehow) on Vista, thus llvm-config is broken which leads
> to missed libraries,
2006 Apr 23
3
[LLVMdev] Re: Building CFE on MinGW
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
2006 May 10
2
[LLVMdev] llvm-gcc4 & mingw32
Hello, Everyone.
This is just brief description on building llvm-gcc4 with mingw32.
It's definitely non error-free and contains many "hacks", which should
be eliminated in the future.
1. Prerequisites
We're building in the folowing configuration:
1.1 GCC 3.4.5:
gcc -v
Reading specs from f:/research/mingw/bin/../lib/gcc/mingw32/3.4.5/specs
Configured with:
2007 Jun 24
0
[LLVMdev] alloca on Win32
Hi
Thanks for the info, it led to the source of the error I was having.
I was using llvm-gcc binaries (built with mingw I guess) to compile a .c
file that is my language runtime, llvm-link'ing that with my frontend's .ll,
and using an vcpp-built lli to run the resulting bytecode. This caused the
special case in X86RegisterInfo::emitPrologue for "main" to try to align the
stack
2006 May 13
1
[LLVMdev] llvm-gcc4 & mingw32 & bash
Hello, Everyone.
All blackmagic (playing with pwd, etc) in my build description has
gone with patched bash (pwd builtin was just hardly disabled). It's
not good, I myself prefer modifying libstdc++ configure script to use
PWD_CMD environmental variable as main gcc ones. I'm working on this
feature.
--
With best regards,
Anton mailto:asl at math.spbu.ru
2007 Nov 07
1
[LLVMdev] Getting started using MinGW binary release?
Sam,
> Am I supposed to install MinGW (maybe MSYS) and extract prebuilt
> packages ( llvm-2.1-x86-mingw32.tar.bz2 and
> llvm-gcc4.0-2.1-x86-mingw32.tar.bz2) to C:\MinGW ??
llvm-as != as. You'll need to have binutils installed in order to compile & link.
--
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2006 Aug 04
0
[LLVMdev] Building llvm under cygwin
On 8/4/06, Anton Korobeynikov <asl at math.spbu.ru> wrote:
>
> Hello Anton
>
> Thu, 3 Aug 2006 23:13:52 +0400 you wrote:
>
> > I won't be available for the next 10-12 hours if you'll need some more
> > files.
> Well. I have one idea. Could you please execute "sort --version" from
> your cygwin shell and let me know, whether it's GNU one
2006 May 14
0
[LLVMdev] llvm-gcc4 & mingw32 & bash
Hello, Greg.
You wrote Sunday, May 14, 2006, 5:21:49 PM:
GP> Do I still need to do the "black magic"?
In fact, yes.
GP> What is this patched version of bash (do you have a patch, where do I get
GP> it?) What does "pwd builtin was just hardly disabled" mean?
There are some set of built-in commands in bash (they are called
"builtins"). For example
2007 Jun 24
1
[LLVMdev] alloca on Win32
The alloca hook is in lib\System\Win32\DynamicLibrary.inc all the way at the
bottom. You'll see a __MING32__ #ifdef around the definition. You just have
to implement those methods and it'll work just fine.
Jake
On 6/24/07, Scott Graham <scott.llvm at h4ck3r.net> wrote:
>
> Hi
>
> Thanks for the info, it led to the source of the error I was having.
>
> I was using
2006 May 10
0
[LLVMdev] GCC_NO_EXECUTABLES during CFE build on MinGW
Hello, Greg.
You wrote Wednesday, May 10, 2006, 3:40:43 PM:
GP> checking for main in -lm... configure: error: Link tests are not allowed
GP> after GCC_NO_EXECUTABLES.
If my memory serves me right, this message was due to something odd
happened in gccld. Maybe supplied path was wrong or something like
this. I've seen this bug before, but don't remember how I've fixed it.
--
2008 Sep 21
0
[LLVMdev] OpenBSD port in progress
2008/9/21 Anton Korobeynikov <asl at math.spbu.ru>:
> Hello,
>
>> If anybody has an idea of how to fix this (other than using another
>> version of gcc because I am sick of compiling), I would appreciate. I
>> can offer backtraces or shell access if anybody is interested, just
>> ask me what you need.
> This was fixed couple of months ago. Please consider
2006 May 24
3
[LLVMdev] Error with llc after using llvm-g++ WIN32
Hello, Ashwin.
You wrote Wednesday, May 24, 2006, 11:25:11 AM:
AC> "Pass::getClassPassInfo<PassClass>() "Pass class not
AC> registered!"" failed: file
AC> "/cygdrive/c/llvm/llvm/include/llvm/PassAnalysisSupport.h", line 76
AC> Aborted
Same for me.
AC> Wihtout the -march specified (using native x86 assembly) it does
AC> convert it into