Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Sconstruct for win32"
2004 Sep 25
0
[LLVMdev] Sconstruct for win32
On Sat, 2004-09-25 at 12:19, Paolo Invernizzi wrote:
> Here is the pre-pre-pre alpha of the file, llease be kind <g>
>
> I give up on TableGen... cannot build the flex/bison emitted files ;-(
> With my hacked version of the checkout the script build Fibonacci.exe
> and HowToUseJIT.exe among with the proper libraries.
>
> I included also a demo version of the
2004 Sep 26
1
[LLVMdev] Sconstruct for win32
On Sep 26, 2004, at 12:58 AM, Alkis Evlogimenos wrote:
> * It would be nice if it is broken down to smaller files (I see you
> mention this in the comments). Also a file per tool/library can give us
> what make cannot: cd into a tools subdir and run scons: this will build
> the tool and all its dependances.
Thats true, splitting it is a must. I simply feel more confortable
during
2004 Sep 15
2
[LLVMdev] HowToUseJIT.cpp - file: 'llvm/ADT/iterator': No such file or directory
Hi
I'm trying to compile HowToUseJIT.cpp, but it seems that iterator definition
is missing:
--------------------Configuration: HowToUseJIT - Win32
Debug--------------------
Compiling...
HowToUseJIT.cpp
c:\sfu\usr\local\src\llvm\include\llvm\adt\ilist(41) : fatal error C1083:
Cannot open include file: 'llvm/ADT/iterator': No such file or directory
Error executing cl.exe.
I've
2004 Sep 26
2
[LLVMdev] patches and scons
The scons file that I posted yesterday is broken...
I've not taken in account the commit of 2 days ago that modified
*iterator.in* and friends.
I've updated it and now it works again; inside it you can find comments
about what files currently
are NOT compiled and why (hint appreciated!)
Attached to this email you can find it and a new series of patches
against current CVS, that I hope
2004 Sep 16
1
[LLVMdev] HowToUseJIT.cpp - file: 'llvm/ADT/iterator': No suchfile or directory
>From: Paolo Invernizzi <arathorn at fastwebnet.it>
>Date: Thu, 16 Sep 2004 10:20:39 +0200
>
>I'm using scons to generate that files from .in files. I implemented in it
>the configure check regarding iterators, hash and so on...
>something like:
>
Hey, you've found the tool that makes it possible to generically reading
Makefiles... Cool - The tool I've
2004 Sep 23
2
[LLVMdev] struct and class under VC7.1
Hi all,
Finally I managed to find out a strange problem under Visual C
During the link of the HowToUseJIT program, I was always missing some
symbols... and I was going crazy testing out different options...
At the end, unmangling the differences in what linker was searching and
what was present in the libraries, I found that the problem is
that we have something like this...
Value.h
struct
2004 Sep 23
2
[LLVMdev] struct and class under VC7.1
On Sep 23, 2004, at 4:08 PM, Jeff Cohen wrote:
> MSVC++ is picky about this. It considers classes and structs to be
> different types so you have to be consistent. If you forward declared
> a
> struct as a class within the same compilation unit, it would complain
> about that too. It's not just linking.
You are right...
BTW, I've just fixed that problem in my checkout
2004 Oct 12
3
[LLVMdev] Showstopper on Visual C
Hi all,
Well, suggestion for workarounds for the namespace problems are
welcome... this is a 7 minutes compile files on a pentium 4 3ghz 700Mb
ram...
The fatal error at the end MAY depend on the previous... or at least, I
hope so.
cl /nologo /TP /EHsc /GR /Zi /Yd /D__STDC_LIMIT_MACROS
/DHAVE__FINITE_IN_FLOAT_H /DHAVE__ISNAN_IN_FLOAT_H
/ISTLport-4.6.2\stlport /Illvm\inc
lude
2004 Sep 24
4
[LLVMdev] Little win32/Signals.cpp patch
It would be great to avoid STLPort and use plain vanilla VC... as I
told, the biggest difference it's how the hash_map and hash_set are
implemented, but I'm not so strong in C++ for resolving the iussue.
About the build procedure, it's based on scons, and it's still at a very
preliminary stage...
Right now I'm trying to build TableGen with it, as till now I've always
2004 Sep 23
0
[LLVMdev] struct and class under VC7.1
I have just committed a change to Value.h that changes the Value class
from using a "struct" declaration to a "class" declaration. I'm not sure
why VC7.1 would generate different symbols for class vs. struct. I'm
pretty certain that's a violation of the ABI. In any event, we should be
consistent. The Value class is declared "class Value" in numerous places
2004 Sep 23
0
[LLVMdev] struct and class under VC7.1
MSVC++ is picky about this. It considers classes and structs to be
different types so you have to be consistent. If you forward declared a
struct as a class within the same compilation unit, it would complain
about that too. It's not just linking.
On Thu, 23 Sep 2004 15:59:42 +0200
Paolo Invernizzi <arathorn at fastwebnet.it> wrote:
> Hi all,
>
> Finally I managed to find
2004 Oct 12
0
[LLVMdev] Showstopper on Visual C
struct X86AsmPrinter is in an anonymous namespace, but printInstruction
is declared in namespace llvm. try editing the tablegen output to move
X86AsmPrinter::printInstruction into an anonymous namespace, not llvm.
I suspect this will at least fix the first problem. Then we can figure
out the proper longterm fix.
Andrew
On Tue, 2004-10-12 at 03:56, Paolo Invernizzi wrote:
> Hi all,
>
2004 Oct 07
2
[LLVMdev] RE: MinGW Tablegen
Hi
As requested from Paolo, I've sent him the tablegen tool. The tool is able
to compile the td files (given in the makefile) on windows without any
complaints.
Henrik
>From: Paolo Invernizzi <arathorn at fastwebnet.it>
>Date: Thu, 7 Oct 2004 14:27:11 +0200
>
>Hi Henrik,
>
>As you may remember, I'm trying to use the LLVM core tools under Visual
>Studio.
2004 Sep 16
1
[LLVMdev] HowToUseJIT.cpp - file: 'llvm/ADT/iterator': Nosuchfile or directory
>From: Paolo Invernizzi <arathorn at fastwebnet.it>
>Date: Thu, 16 Sep 2004 11:18:00 +0200
>If VC6 is not doing something wrong with templates... ;-/
As far as I know is template handling a part of some C++ ISO standard. Then,
MS should adhere to this...
However, what you objects against is that MS didn't implement STL the way
STL should be implemented. And the reason to
2004 Sep 25
0
[LLVMdev] Little win32/Signals.cpp patch
Well, I just tried to copy the files generated by configure to Windows
for building there. It's a non starter. They are totally dependent on
the Unix environment and it would be simpler to start from scratch. The
scons approach of generating VC project files is very interesting (but
what about the solution file?). Unfortunately, a serious attempt at
this would take far more time than I
2004 Sep 24
0
[LLVMdev] Little win32/Signals.cpp patch
Uh... this may be a silly question, but why can't you include <stdio.h>?
It'd be much better than <iostream>.
Anyway, I think I'll try this weekend to come up with my own way of
building on Win32. I prefer that building on Windows depends only on
Microsoft and GNU tools, and the fewer of the latter the better.
My gut instinct is to capture all the files generated by
2004 Oct 12
2
[LLVMdev] GenRegisterInfo.h.inc
Hi all,
I cannot figure out why is named GenRegisterInfo.h.inc and not
GenRegisterInfo.inc ...
Is it for a dependency problem?
Back again to compilation problems under win32 with VC
llvm\lib\Analysis\DataStructure\Local.cpp(628) : error C2105: '--' needs
l-value
the line is:
Result.mergeWith(getValueDest(**--CS.arg_end()));
Can I submit patches for mutate it in something like:
2004 Sep 24
4
[LLVMdev] Little win32/Signals.cpp patch
I'll wait for the research. We should try, as much as possible, to make
it work with just what the compiler provides and without third party
packages.
Thanks,
reid.
On Fri, 2004-09-24 at 07:46, Jeff Cohen wrote:
> I added the include of cstudio and it fails with plain VC7.1; the file
> does not exist.
>
> Add it for now. If it is impossible to build with VC7.1 and without
2004 Oct 14
0
[LLVMdev] Linker problems with Visual Studio
On Thu, 14 Oct 2004, Morten Ofstad wrote:
> I finally managed to compile a working fibonacci example (using the
> interpreter, I'm still working on porting the x86 backend). The final
> problem was that I couldn't find a way to force the linker to include
> the Dominators.obj file since there were no references to it. There is
> an option to the linker to stop it from
2020 Feb 24
2
segfault with HowToUseJIT
Hi!
I've started looking porting our application which uses LLVM JIT to
using LLVM 9 (9.0.1).
To begin, I tried running the HowToUseJIT.cpp (example directory)
program and it fails with a segfault:
./HowToUseJIT
We just constructed this LLVM module:
; ModuleID = 'test'
source_filename = "test"
Running foo: Segmentation fault (core dumped)
Running it through GDB: