similar to: [LLVMdev] cross compiling with the C backend

Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] cross compiling with the C backend"

2008 Feb 18
0
[LLVMdev] cross compiling with the C backend
Kevin André wrote: > For my master's thesis, I am trying to cross compile programs for the > PSP (PlayStation Portable) with LLVM and llvm-gcc. > > This is what I do: > > (1) compile a program and the libraries it uses (libpng etc.) with llvm-gcc > (2) link the bitcode files with llvm-ld into one file > (3) run "llc -march=c" on the result > (4) compile
2004 Jul 15
2
[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
>From: Chris Lattner <sabre at nondot.org> >Date: Wed, 14 Jul 2004 14:49:01 -0500 (CDT) > >There is currently support for building in non-cygwin windows environments >protected by _MSC_VER. You just need to broaden the scope of the #ifndef >to include internix. > Sorry Chris, but my DataTypes.h.in seems to be outdated (due to I'm porting LLVM 1.2), so I'm not
2008 Mar 07
2
[LLVMdev] llvm-gcc and mips
Hi, When using mips-unknown-linux-gnu as a cross-compiler, the llvm Mips backend is called by cc1 and with that you get llvm bytecode defined relative to the Mips ABI. This can be messing up somehow your generated C code. 2008/3/7, HyperQuantum <hyperquantum at gmail.com>: > On Fri, Feb 29, 2008 at 2:23 PM, HyperQuantum <hyperquantum at gmail.com> wrote: > > At least I got
2008 Feb 18
0
[LLVMdev] cross compiling with the C backend
> What could solve this problem? Do I have to configure llvm-gcc as a > cross compiler? MIPS might be a better candidate than the 'i686' from > the native configuration. Or could it be simply a bug in llvm-gcc or > LLVM? Btw, cross-compiling llvm-gcc for Mips wont work since the support in llvm-gcc isnt ready yet! > Another option could be to add real support for the PSP
2008 Mar 07
0
[LLVMdev] llvm-gcc and mips
On Fri, Mar 7, 2008 at 8:28 PM, Bruno Cardoso Lopes <bruno.cardoso at gmail.com> wrote: > When using mips-unknown-linux-gnu as a cross-compiler, the llvm Mips > backend is called by cc1 and with that you get llvm bytecode defined > relative to the Mips ABI. That was my intention. The PSP has a 32-bit MIPS (derived) CPU. What I don't know is if that triple is the right one
2008 Mar 19
3
[LLVMdev] GSoC Mips backend improvement
Hi all, Last year i was mentored by Chris Lattner at GSoC and i created the Mips back-end for LLVM. The back-end is still experimental (working with simple benchmarks only) and this year i would like to improve it as my GSoC proposal. Mips is still fairly used nowadays in a lot of devices - routers, wireless cards, PSP, PS2 - and it would be great to have a stable mips backend for LLVM. General
2008 Feb 19
1
[LLVMdev] cross compiling with the C backend
Hello, Kevin > build process I described in my original message. So the difference is > more subtle; maybe a difference in the layout of structs or something. Also, there can be another ABI differences. > llvmoutput.c:17976: warning: pointer targets in passing argument 1 of > 'longjmp' differ in signedness Hrm, are you using setjmp/longjmp stuff? They're definitely not
2008 Feb 29
1
[LLVMdev] conflicting declarations in output of C back end
I stumbled upon the following error: psp-gcc -I. -I/home/kevin/Documents/School/Thesis/work/install/psptoolchain/psp/sdk/include -Wall -O1 -G0 -ILIB_zlib -ILIB_libpng -D_PSP_FW_VERSION=150 -c -o llvmoutput.o llvmoutput.c llvmoutput.c:619: error: conflicting types for '_impure_ptr'
2008 Mar 20
0
[LLVMdev] GSoC Mips backend improvement
On Mar 18, 2008, at 10:46 PM, Bruno Cardoso Lopes wrote: > Hi all, > > Last year i was mentored by Chris Lattner at GSoC and i created the > Mips back-end for LLVM. The back-end is still experimental (working > with simple benchmarks only) and this year i would like to improve it > as my GSoC proposal. Mips is still fairly used nowadays in a lot of > devices - routers,
2015 Oct 20
2
[compiler-rt] Undefined negation in float emulation functions
Hi, I recently came across the following in __floatsidf in compiler-rt: __floatsidf(int a) { ... if (a < 0) { ... a = -a; In the case where a == INT_MIN, is this negation not undefined behaviour? AIUI this function is used for software emulation on targets that have no hardware floating point support. Perhaps there is an in-built assumption
2008 Feb 28
2
[LLVMdev] llvm-gcc and mips
On Wed, Feb 27, 2008 at 7:32 PM, Mike Stump <mrs at apple.com> wrote: > On Feb 27, 2008, at 8:38 AM, HyperQuantum wrote: > > I tried to cross-compile llvm-gcc for mips, but it crashes > > But now I'm stuck. I don't need a full cross-compiler, just generating > > LLVM code is sufficient for me. > > make -k install will install a mips cross compiler for
2005 Dec 18
1
psp on SuSE 10.0: free(): invalid pointer
- UPS MGE Premium Ellipse Premium 1200 - SuSE Linux 10.0 OSS, kernel 2.6.13 smp - gcc version 4.0.2 20050901 (prerelease), glibc-2.3.5-40 - mgeups-psp-3.0.0-3, nut-2.0.2-4 - Dell Dimension 8400 with dual core Intel Xeon. 3.0GHz. lsusb shows: Bus 002 Device 003: ID 0463:ffff MGE UPS Systems UPS less /proc/bus/usb/devices shows for bus 2 device 3: T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=
2003 Sep 03
1
Some notes on the FAQ
Hi. : ) I was updating my unofficial Korean Ogg Vorbis FAQ, when I noticed the following: While #ext is no longer listed in the FAQ contents, http://www.vorbis.com/faq.psp#ext still exists. IMHO http://www.vorbis.com/faq.psp#stream looks a little awkward. I suggest something like: Icecast streams Ogg vorbis to playsers like XMMS, Winamp 2, and foobar2000, which are all capable of...
2008 Feb 27
0
[LLVMdev] llvm-gcc and mips
On Feb 27, 2008, at 8:38 AM, HyperQuantum wrote: > I tried to cross-compile llvm-gcc for mips, but it crashes > But now I'm stuck. I don't need a full cross-compiler, just generating > LLVM code is sufficient for me. make -k install will install a mips cross compiler for you, I believe. If you don't want to install it, you can run it as cd gcc && ./xgcc - B./ t.c.
2008 Feb 27
2
[LLVMdev] llvm-gcc and mips
I tried to cross-compile llvm-gcc for mips, but it crashes somewhere in the build process: /home/kevin/Documents/School/2eLIC/Thesis/work/build/llvmgcc-mips/./gcc/xgcc -B/home/kevin/Documents/School/2eLIC/Thesis/work/build/llvmgcc-mips/./gcc/ -B/home/kevin/Documents/School/2eLIC/Thesis/work/build/llvmgcc-mips/../../install/llvmgcc-mips/mips-unknown-linux-gnu/bin/
2007 Jun 27
1
Using MGE UPS's with NUT and openSUSE
Dear List, I thought it might be useful if I wrote up my notes on getting an MGE UPS to work with NUT and openSUSE. The MGE UPS (an Ellipse 1500 USB) will work well with NUT and openSUSE 10.2, but not "out-of-the-box": there are some things you need to do: Intro. MGE have built rpms of NUT which greatly simplify installation. Merci MGE. I used the rpm's for nut-2.0.5 and the
2008 Mar 09
2
[LLVMdev] llvm-gcc and mips
Hi Kevin, > Supposed that you knew my approach was intentional (correct me if I'm > wrong), what problem did you see here? Yes, i'm trying to help raising possible problems. For example, there are Mips machines with different endianess, the llvm Mips default (Big) is different from the psp toochain default one (correct me if I'm wrong - Little), maybe this is messing up...
2011 Nov 17
3
UPS MGE serial cable over network.
Hi, I'm forwarding your mail to the NUT list, because of a lack of time, and also since some others (Charles) already looked at this issue IIRC (related to the development branch 'netport'). cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer -
2008 Feb 29
2
[LLVMdev] llvm-gcc and mips
On Thu, Feb 28, 2008 at 7:26 PM, Mike Stump <mrs at apple.com> wrote: > On Feb 28, 2008, at 4:03 AM, HyperQuantum wrote: > > llvm-gcc: error trying to exec 'cc1': execvp: No such file or > > directory > > Do: > > find . -name cc1 -print > > to find cc1 in the build directory. Then, copy this file by hand to > to llvm-gcc
2005 Sep 11
2
PSP, Protection Center 500, NUT 2.0.2 and Gentoo
Hi, I recently bought a MGE protection center 500. I am running a gentoo, and I am currently trying to enable the ups handling by the os, with no success. First, I compiled and installe nut 2.0.2 (with usb support) and psp 3.0. I made ebuild for them that I will submit soon to bugs.gentoo.org. The ups is connected via usb, and lsusb confirms that the device is detected (cf end of the mail for