Displaying 20 results from an estimated 200000 matches similar to: "[LLVMdev] Writing to file in LLVM ?"
2016 Jan 10
3
coerce SEXP type to C++ matrix class and back
Dear all,
I am testing a simple C++ function that takes a double matrix as
argument and which uses routines provided by the C++ Armadillo
package. I am aware of the nice capabilities of Rcpp and RcppArmadillo
which helps simplifying a lot and that I have already successfully
tested. However, I had a hard time trying to figure out how the
coercion from a REALSPX matrix to an arma::mat =
2011 Oct 24
2
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
I apply patch, it says patch is applied. Does the directory which I run patch matters ?
===========================================
Phone : 82-42-860-1838
Fax : 82-42-860-6790 Cell Phone: 82-10-7599-1981 ===========================================
--- On Mon, 10/24/11, Eli Friedman <eli.friedman at gmail.com> wrote:
From: Eli Friedman <eli.friedman at gmail.com>
Subject: Re:
2011 Oct 25
2
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
The patch does inseret unistd.h as below. However, I am still getting exactly same error when I do make.if you have any suggestions please let me know.
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
===========================================
Phone : 82-42-860-1838
Fax : 82-42-860-6790 Cell Phone: 82-10-7599-1981 ===========================================
--- On Mon, 10/24/11, Eli
2011 Oct 25
3
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
Yes,
I applied the patch on trunk version like below. It says patching file. However, when I make, the build is still failing.
janarbek at ubuntu:~/Work/llvm/llvm$ patch -p0 < unistd.txt
patching file lib/Support/Unix/Path.inc
===========================================
Phone : 82-42-860-1838
Fax : 82-42-860-6790 Cell Phone: 82-10-7599-1981
2011 Oct 24
3
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
I am not sure if I applied correctly.I did following and it seems failed.
janarbek at ubuntu:~/Work/llvm$ patch <unistd.txt
patching file Path.inc
Hunk #1 FAILED at 51.
1 out of 1 hunk FAILED -- saving rejects to file Path.inc.rej
===========================================
Phone : 82-42-860-1838
Fax : 82-42-860-6790 Cell Phone: 82-10-7599-1981
2011 Oct 26
2
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
Hi, if you change unlink to ::unlink on that line, does it help?
Ciao, Duncan.
On 10/26/11 19:27, janarbek wrote:
> Does someone have a solution for this problem ?
> I am using gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) and I have tried
> several versions of LLVM including llvm 2.9 final. I am getting same error again
> and again.
>
> I have successfully build the llvm
2011 Oct 26
0
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
Does someone have a solution for this problem ?
I am using gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) and I have tried several versions of LLVM including llvm 2.9 final. I am getting same error again and again.
I have successfully build the llvm on another machine with gcc version of 4.3.
Thanks in advance.
make[1]: Entering directory
2011 Oct 25
0
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
On Mon, Oct 24, 2011 at 4:58 PM, janarbek <canarbekmatay at yahoo.com> wrote:
>
> I apply patch, it says patch is applied. Does the directory which I run patch matters ?
You should be running the "patch -p0 < unistd.txt" in the root LLVM
source directory for the trunk version. If you're still getting "Hunk
#1 FAILED at 51." errors, you're not doing
2011 Oct 26
0
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
Hi Duncan,
unlink is a C function, right ? why need a :: ?
Or is there a class ?
--- On Wed, 10/26/11, Duncan Sands <baldrick at free.fr> wrote:
From: Duncan Sands <baldrick at free.fr>
Subject: Re: [LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
To: llvmdev at cs.uiuc.edu
Date: Wednesday, October 26, 2011, 11:10 AM
Hi, if you
2011 Oct 24
0
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
On Mon, Oct 24, 2011 at 4:41 PM, janarbek <canarbekmatay at yahoo.com> wrote:
>
> I am not sure if I applied correctly.I did following and it seems failed.
>
> janarbek at ubuntu:~/Work/llvm$ patch <unistd.txt
> patching file Path.inc
> Hunk #1 FAILED at 51.
> 1 out of 1 hunk FAILED -- saving rejects to file Path.inc.rej
Try "patch -p0 < unistd.txt".
2011 Oct 25
0
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
On Mon, Oct 24, 2011 at 5:10 PM, janarbek <canarbekmatay at yahoo.com> wrote:
>
> Yes,
>
> I applied the patch on trunk version like below. It says patching file. However, when I make, the build is still failing.
>
> janarbek at ubuntu:~/Work/llvm/llvm$ patch -p0 < unistd.txt
> patching file lib/Support/Unix/Path.inc
That means it was applied.
In that case, I have
2011 Sep 01
2
[LLVMdev] Cross compling with LLVM for MIPS
I have installed LLVM on my machine (ubuntu) a while ago. I think my LLVM version is 2.8. is it supported in 2.8 ? When I install i didn't configure LLVM for mips. Do I have to configure it when I build ?
Thanks in advance. Really appreciate it.
--- On Thu, 9/1/11, Bruno Cardoso Lopes <bruno.cardoso at gmail.com> wrote:
From: Bruno Cardoso Lopes <bruno.cardoso at gmail.com>
2011 Oct 24
0
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
On Mon, Oct 24, 2011 at 4:27 PM, janarbek <canarbekmatay at yahoo.com> wrote:
>
> Hello All,
>
> I am getting following error on Ubuntu. My gcc is gcc version 4.4.5. Please let me know if you have any comments/suggestions.
>
> In file included from /home/janarbek/Work/llvm/llvm/lib/Support/Path.cpp:299:
> /home/janarbek/Work/llvm/llvm/lib/Support/Unix/Path.inc: In member
2011 Oct 24
2
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
Hello All,
I am getting following error on Ubuntu. My gcc is gcc version 4.4.5. Please let me know if you have any comments/suggestions.
In file included from /home/janarbek/Work/llvm/llvm/lib/Support/Path.cpp:299:
/home/janarbek/Work/llvm/llvm/lib/Support/Unix/Path.inc: In member function ‘bool llvm::sys::Path::eraseFromDisk(bool, std::string*) const’:
2009 Aug 22
0
[LLVMdev] X86 Disassembler
On Aug 19, 2009, at 4:39 PM, Sean Callanan wrote:
> thanks for your comments. I'll respond to them individually. I've
> attached a new revision of the patch that addresses them. Patch
> built and tested against SVN 79487, with the additional attached fix
> that fixes an Intel table bug.
Thanks Sean, comments below. Are you sure you attached the updated
patch? I
2009 Mar 02
0
[LLVMdev] Fw: -fPIC warning on every compile on Cygwin
On Sun, Mar 1, 2009 at 4:24 AM, Nick Lewycky <nicholas at mxc.ca> wrote:
Please try this patch. I tried to copy exactly what libtool would do on Cygwin by reading the libtool source.
Hi Nick,
Working fine on Cygwin :)
Aaron
Nick
Aaron Gray wrote:
On Fri, Feb 27, 2009 at 4:50 PM, Aaron Gray <aaronngray.lists at googlemail.com <mailto:aaronngray.lists at
2012 Nov 13
3
[LLVMdev] Mips instructions using llvm?
Hi Eli,
What do you mean by "kind of vague" ? So does not guarantee to generate correct instructions ?
I just tried what you said but getting following error ? Any ideas ? What I did is clang hello.c -S -target mips-unknown-linux
Error: In file included from hello.c:1In file included from /usr/include/stdio.h:28/usr/include/features.h:323:10 fatak error 'bits/predefs.h' file not
2009 Mar 03
0
[LLVMdev] -fPIC warning on every compile on Cygwin
Aaron Gray wrote:
> On Sun, Mar 1, 2009 at 4:24 AM, Nick Lewycky <nicholas at mxc.ca
> <mailto:nicholas at mxc.ca>> wrote:
>
> Please try this patch. I tried to copy exactly what libtool would do
> on Cygwin by reading the libtool source.
>
>
> Hi Nick,
>
> Working fine on Cygwin :)
Great to hear! I've committed the fix in r65922.
2011 Sep 01
2
[LLVMdev] Cross compling with LLVM for MIPS
Hello All,
I am trying to cross compile for MIPS on x86 architecture. I want to do it using LLVM ?
How can I do it ? Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110901/b4e68ea3/attachment.html>
2011 Sep 01
0
[LLVMdev] Cross compling with LLVM for MIPS
Using LLVM+CLANG, you can do something like:
clang -ccc-host-triple mips-unknown-linux -ccc-clang-archs mips ...
On Thu, Sep 1, 2011 at 1:15 PM, janarbek <canarbekmatay at yahoo.com> wrote:
> Hello All,
>
> I am trying to cross compile for MIPS on x86 architecture. I want to do it
> using LLVM ?
> How can I do it ? Thanks in advance.
>
>
>