Displaying 20 results from an estimated 5000 matches similar to: "[LLVMdev] What version of GCC to build LLVM-GCC4 on Linux"
2007 Mar 03
1
[LLVMdev] What version of GCC to build LLVM-GCC4 on Linux
>> I am wanting to upgrade my Fedora Core 6's GCC as it is version 4.1.1
>> and that does not build LLVM-GCC4. What version of GCC is recomended ?
>
> The fine documentation says:
> http://llvm.org/docs/GettingStarted.html#brokengcc
Yes. But what version is recomended and tested ?
Any post 4.1.1 ?
Aaron
2007 Mar 04
0
[LLVMdev] What version of GCC to build LLVM-GCC4 on Linux
> I am wanting to upgrade my Fedora Core 6's GCC as it is version 4.1.1
> and that does not build LLVM-GCC4. What version of GCC is recomended ?
The fine documentation says:
http://llvm.org/docs/GettingStarted.html#brokengcc
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
2006 Nov 09
4
[LLVMdev] datapoint for recent llvm-gcc4 build failures
I routinely fetch the latest LLVM and LLVM-GCC4 and recompile, perhaps every few days or so. I've not had success in some cases building LLVM-GCC4 on a Gentoo Linux host, for perhaps the last week or so. My system compiler is GCC 4.1.1.
>>>
cc1: /usr/src/llvm/llvm/include/llvm/Target/TargetInstrInfo.h:151:const llvm::TargetInstrDescriptor&
2006 Nov 09
0
[LLVMdev] datapoint for recent llvm-gcc4 build failures
Andrew Purtell wrote:
> I routinely fetch the latest LLVM and LLVM-GCC4 and recompile, perhaps every few days or so. I've not had success in some cases building LLVM-GCC4 on a Gentoo Linux host, for perhaps the last week or so. My system compiler is GCC 4.1.1.
>
>
> cc1: /usr/src/llvm/llvm/include/llvm/Target/TargetInstrInfo.h:151:const llvm::TargetInstrDescriptor&
2006 Dec 03
3
[LLVMdev] problem building gcc4 front end on fedora core 5
I'm getting a build error when trying to build gcc4 from sources. This is
for the recent 1.9 release.
How I built llvm-1.9:
-----------------------------
tar zxf llvm-1.9.tar.gz
cd llvm-1.9/
./configure --prefix=/custom/llvm-1.9
make ENABLE_OPTIMIZED=1 OPTIMIZE_OPTION='-O2' tools-only
make install
How I built gcc4:
-----------------------------
export
2006 Aug 23
2
[LLVMdev] updating the "Getting Started" page with more info about the gcc4 frontend
Hello,
It looks like the "Getting Started" is missing some info about the gcc
4.0 frontend. Since it doesn't follow the setup of the cfrontend/gcc3.4
package, a couple sections describing the front end don't cover the gcc4
package. Here are the couple things I'd wish could be fleshed out a bit
more:
Under "Getting Started Quickly (A Summary)", it'd be nice
2006 Aug 15
2
[LLVMdev] llvm-gcc4 on Debian
Ryan Brown wrote:
> I don't think llvm-gcc4 uses gccas or gccld, but it can emit bytecode
> if you give it the --emit-llvm option:
> llvm-gcc --emit-llvm -c -o foo.bc foo.c
That's a bit asymmetric with the previous gcc3 version, isn't it? That
would mean that the "An Example Using the LLVM Tool Chain" section needs
to be updated for the gcc4 frontend.
OTOH, I could
2007 Jun 04
2
[LLVMdev] building llvm-gcc4 with a different target name
Hello,
I've put together a macports version of llvm and llvm-gcc4, but I've run
into a problem with how gcc on the mac works. llvm-gcc4 creates an
executable named:
/opt/local/bin/powerpc-apple-darwin8-gcc-4.0.1
Which happens to be the same executable in /usr/bin. Because I have
/opt/local before /usr/bin, gcc ends up using llvm-gcc4 to build all my
code. Most of the time this
2006 Aug 25
2
[LLVMdev] updating the "Getting Started" page with more info about the gcc4 frontend
Devang Patel wrote:
>
> On Aug 23, 2006, at 7:00 PM, Emil Mikulic wrote:
>
>> Where -is- that documented?
>>
>> The only reason I know about it is because of how many times it's come
>> up on the list. =)
>
> http://llvm.org/docs/GettingStarted.html ?
>
> ...
> Example with llvm-gcc4
> First, create a simple C file, name it
2006 Aug 15
2
[LLVMdev] llvm-gcc4 on Debian
I know that Al Stone has compiled llvm-gcc4 successfully and I can
report the same. The problem I consistently run into is that llvm-gcc
ends up producing native format output; it does not produce bytecode,
nor does it invoke gccas or gccld.
I'm using the latest svn, and my configure args are:
--prefix=/work/scottm/llvm-cfrontend/obj/../i686-pc-linux-gnu \
2006 Aug 24
2
[LLVMdev] updating the "Getting Started" page with more info about the gcc4 frontend
On Wed, Aug 23, 2006 at 06:38:36PM -0700, Scott Michel wrote:
> There should also be a large notice in 40 point font and bold that says,
> "gcc4 does not produce byte code by default: you must use the -emit-llvm
> flag to get LLVM byte code."
=)
Where -is- that documented?
The only reason I know about it is because of how many times it's come
up on the list. =)
(Which
2006 Aug 25
4
[LLVMdev] updating the "Getting Started" page with more info about the gcc4 frontend
Chris Lattner wrote:
> Patches welcome. Please send a patch, or even just some suggested
> text, and we'll be happy to include it. Remember that the people who
> usually end up writing the FAQ's already know all the answers, so it's
> hard for us to see things from fresh perspectives sometimes :)
>
> -Chris
>
Actually, my request for more info in the
2007 Mar 01
3
[LLVMdev] compiling llvm-gcc4 on ubuntu
hello,
i am new to llvm and can't manage to compile the gcc backend.
my steps:
i compile the llvm-source first as suggested in "README.LLVM"
that works fine and without any issues.
then i make a new dir called build. from there i do the following:
stefan at ubuntu:~/programs/llvm/build$ ../llvm-gcc4-1.9.source/configure --enable-languages=c,c++ --prefix=/usr/local/
2007 Apr 01
3
[LLVMdev] trouble compiling llvm-gcc4 1.9
I'm having some trouble getting llvm-gcc4 to compile. It's unable to
compile darwin-crt3.c. It's mentioning "Complex expression. Absolute
segment assumed." but I'm not sure if that's a real error message. Has
anyone run into this before? I'm running on a G4 apple 10.4.8, kernel
version 8.6.0. I googled around and found a bug with the same error message:
2006 Sep 02
0
[LLVMdev] updating the "Getting Started" page with more info about the gcc4 frontend
Erick Tryzelaar wrote:
> Actually, my request for more info in the "Getting Started" had some
> hidden questions, as I don't know the answer to them :) So to be a
> little more clear, here are the two I had:
>
> Does the gcc4 no longer need the "fixheaders" script that the gcc3.4
> frontends uses?
>
> Is it possible to install both the gcc4 and
2007 Mar 01
0
[LLVMdev] compiling llvm-gcc4 on ubuntu
Hi Stefan,
On Thu, 2007-03-01 at 23:26 +0100, Stefan Weigert wrote:
> hello,
>
> i am new to llvm and can't manage to compile the gcc backend.
Okay. Did you read: http://llvm.org/docs/GettingStartedGuide.html ?
>
> my steps:
> i compile the llvm-source first as suggested in "README.LLVM"
> that works fine and without any issues.
Okay.
>
> then i
2006 Jan 05
1
Using gcc4 visibility features
R-devel now makes use of gcc4's visibility features: for an in-depth
account see
http://people.redhat.com/drepper/dsohowto.pdf
(and note there are older versions of that document around).
Consider for example stats.so. On a gcc4 Linux system this has just three
entry points
gannet% nm -g stats.so | grep " T "
00002720 T R_init_stats
0004a544 T _fini
00001f28 T _init
since the
2006 Dec 10
3
[LLVMdev] Building llvm-gcc4 on amd64
Hi all,
I spent several hours today trying to compile llvm-gcc4 from svn and llvm from
cvs on amd64 linux. In the case anyone else decides to try the same, this
could ease your pain:
1) check out llvm, llvm-gcc
2) create llvm-obj llvm-gcc-obj
export LLVM_INSTAL=<install_dir>
cd llvm-obj
export LLVM_OBJ=`pwd`
../llvm/configure --prefix=$LLVM_INSTALL --enable-debug-runtime
4) At one point,
2006 Aug 15
0
[LLVMdev] llvm-gcc4 on Debian
I don't think llvm-gcc4 uses gccas or gccld, but it can emit bytecode
if you give it the --emit-llvm option:
llvm-gcc --emit-llvm -c -o foo.bc foo.c
On 8/14/06, Scott Michel <scottm at rushg.aero.org> wrote:
> I know that Al Stone has compiled llvm-gcc4 successfully and I can
> report the same. The problem I consistently run into is that llvm-gcc
> ends up producing native
2006 Aug 24
0
[LLVMdev] updating the "Getting Started" page with more info about the gcc4 frontend
On Aug 23, 2006, at 7:00 PM, Emil Mikulic wrote:
> Where -is- that documented?
>
> The only reason I know about it is because of how many times it's come
> up on the list. =)
http://llvm.org/docs/GettingStarted.html ?
...
Example with llvm-gcc4
First, create a simple C file, name it 'hello.c':
#include <stdio.h>
int main() {
printf("hello