Displaying 20 results from an estimated 7000 matches similar to: "[LLVMdev] build on windows"
2008 Jun 30
0
[LLVMdev] build on windows
Le 30 juin 08 à 21:28, Le Anh Quang a écrit :
> Hi,
> I have tried to compile LLVM with Visual C++. Some subprojects work
> now.
>
> Other subprojects require the file "configure.lib". So I tried to
> compile
> the project "Configure". It could be built successfully, but the file
> "configure.lib" is not generated. So, what is the problem
2008 Jul 01
3
[LLVMdev] build on windows
Hi Jean-Daniel,
Thank
I use VC++ 9 (express version). I have also an error in TableGen: The
"strtoll" could not be found under win32. Have you fixed it ?
Regards
Quang
-----Ursprüngliche Nachricht-----
Von: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] Im
Auftrag von Jean-Daniel Dupas
Gesendet: Montag, 30. Juni 2008 22:00
An: LLVM Developers Mailing List
2008 Jun 30
1
[LLVMdev] build on windows
So far, I'm building largely clean too. I had to change which llvmAsmParser it was looking at since it needs to look at the generated file under the win32\AsmParser directory rather than ...\lib\AsmParser where no such file exists. After that, it compiles clean on debug. Working on release now and then I'll check that change in.
Quang, do you have flex and bison on your system and in
2008 Jul 01
2
[LLVMdev] build on windows
Hi Jean-Daniel,
thank for ur fast answer, i have fixed this error, another function was
defined inside llvm source code.
So, my only problem now is, I cannot create the file "configure.lib"
(belongs to project "Configure"). I can build this project without error,
but it didn't generate the lib data ?!
Can you build this file ? if yes, I will be very happy if you send it to
2008 Jul 01
0
[LLVMdev] build on windows
Not this one, I have a different error here. One related to hasmap and
pair templates.
I will check this on my Windows machine later.
Le 1 juil. 08 à 16:44, Le Anh Quang a écrit :
> Hi Jean-Daniel,
> Thank
> I use VC++ 9 (express version). I have also an error in TableGen: The
> "strtoll" could not be found under win32. Have you fixed it ?
>
> Regards
> Quang
2008 Jul 01
0
[LLVMdev] build on windows
AFAK, the Configuration project does not generate any output. It just
patch and generate some required header file.
Le 1 juil. 08 à 17:32, Le Anh Quang a écrit :
> Hi Jean-Daniel,
> thank for ur fast answer, i have fixed this error, another function
> was
> defined inside llvm source code.
> So, my only problem now is, I cannot create the file "configure.lib"
>
2008 Jul 01
2
[LLVMdev] build on windows
Hi,
but on some other project, they require "configure.lib". What is this one ?
Thanks
-----Ursprüngliche Nachricht-----
Von: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] Im
Auftrag von Jean-Daniel Dupas
Gesendet: Dienstag, 1. Juli 2008 17:58
An: LLVM Developers Mailing List
Betreff: Re: [LLVMdev] build on windows
AFAK, the Configuration project does not
2008 Jul 09
0
[LLVMdev] build on windows
Quang, you need to set Configure to Utility type. For some reason it
gets messed up in the conversion process to VS2008. Go to Configure
properties / General and put Utility in Configuration Type. It helped on me.
Also some h/cpp files might be dislocated, at least I needed to relocate
AsmParser files...
Then it should work just fine except some projects recompile excessively
for unknonwn
2008 Jul 01
2
[LLVMdev] build on windows
Hi Argiris,
It was for example the project TableGen, llvm-dis... I saw it under
Properties/Linker/Command Line
And the output is also:
Linking...
Starting pass 1
LINK : fatal error LNK1181: cannot open input file
'..\configure\configure\configure.lib'
Build log was saved at
"file://d:\Studium\Diplom\Download\llvm-2.3\win32\TableGen\Win32\Release\Bui
ldLog.htm"
TableGen - 1
2008 Jul 01
0
[LLVMdev] build on windows
Le Anh Quang wrote:
> It is strange, I know that "configure" does not create any lib file. But it
> exists on some projects. is something wrong by me ?
> I also send a screenshot (properties of llvm-dis)
>
The command line properties are not correct. Here's what the properties
of llvm-dis on VC++ 2005 should look like:
2008 Jul 13
3
[LLVMdev] instruction description
Hi,
I need the description of LLVM instructions on bitcode file. I can't find it
on any document. Reading the code costs much time. Does a description like
this exist ? It should look like the JVM Instruction set on the link bellow:
http://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc.ht
ml
Thanks for any advise.
Quang
2008 Oct 06
3
[LLVMdev] sext..to instruction
Hi,
I have a question about the "sext..to" instruction. In the document, I found
two examples:
%x = sext i8 -1 to i16
It means:
i8 -1 = 1111 1111 --> 1111 1111 1111 1111 = i16
how can it determinate, that the i16 value %x positive is (65535)?
And the second example:
%y = sext i1 true to i32
1 --> 1111 1111 1111 1111 1111 1111 1111 1111
In this example, %y is -1
I'm not sure
2008 Oct 10
1
[LLVMdev] global constant integer and pointer
Hi all,
I have tried to use llvm to translate some programs. Today I saw a weird
thing:
- My program has a global pointer @ptr1 = 0. And the constant integer '0' is
stored in value memory at index 64.
"@ptr = weak global i32 0; <i32*>"
- Somewhere in my program, there is a store instruction:
"store i32 %tmp31, i32* @ptr"
it writes %tmp32 into memory, where
2008 Jul 01
0
[LLVMdev] build on windows
Le Anh Quang wrote:
> Hi,
> but on some other project, they require "configure.lib". What is this one ?
> Thanks
Hi Le Anh,
What project are you talking about, and how did you determine that it
requires "configure.lib" ?
AFAIK, all LLVM projects have dependency on the configure project but
this is only so that some include files are created, no
2008 Jul 23
1
[LLVMdev] weird function
llvm-gcc is the C compiler, but you're trying to compile a C++ file.
"@_Znwj" looks like part of a C++ symbol.
Try llvm-g++ instead, that should help.
- Simon
2008/7/23 Le Anh Quang <anh_quang.le at mailbox.tu-dresden.de>:
> Hi,
> I have tried to compile a simple cpp file with llvm-gcc. I have attached
> the assemble file here.
> I see a weird thing there.
2008 Jul 13
0
[LLVMdev] instruction description
On Jul 13, 2008, at 1:32 PM, Le Anh Quang wrote:
> Hi,
> I need the description of LLVM instructions on bitcode file. I can't
> find it
> on any document. Reading the code costs much time. Does a
> description like
> this exist ? It should look like the JVM Instruction set on the link
> bellow:
>
2008 Jul 24
1
[LLVMdev] weird function
Hi Quang,
> As I compiled a C or C++ program using llvm-gcc or llvm-g++, I have a
> bitcode file. If a C++ library is used, some functions will be declared
> inside it, but not defined there (like the @_Znwj). Is it possible to create
> LLVM IR with all libraries defined inside (or linked with another bitcode
> libraries) ?
I don't know how hard it would be to compile the C++
2008 Jul 24
2
[LLVMdev] weird function
Hi,
> thank for your answer. Is there any document/tutorial about linking
> bytecode file with libstdc++ avaiable ?
first you need to compile the bitcode to assembler using llc.
For example:
llc bitcode.bc
This produces bitcode.s. Turn this into a executable using:
llvm-g++ -o bitcode bitcode.s
or
g++ -o bitcode bitcode.s
It doesn't matter which g++ you use here. Using g++
2008 Jun 25
4
[LLVMdev] [PATCH] Mach-O Identify File Type
An improved Mach-O file type detection for sys::IdentifyFileType()
This patch add supports for single architecture mach-o files (the
current implementation only support Universal Binary), and solve the
signature conflict between java class and Universal Binary magics.
Note that this function will always returned dynamic library for
Universal Binaries (like the current implementation)
2008 Sep 17
1
[LLVMdev] instruction's type
Hi,
I have a question about type in LLVM. Is the type of any instruction's
parameter always determinate?
E.g. an instruction with OPCODE
%tmp = OPCODE X, Y
which has two parameters X, Y. So, is there the case, that type of X or Y is
unclear?
Thanks for any advice
Quang