Re: Freescale 68HC11/68HC12 port (gcc newbie help request)

2012-03-26 Thread James Murray
On Wed, 2012-03-21 at 15:12 -0700, Ian Lance Taylor wrote: > I can understand why you are doing this. However, you should be aware > that the compiler internals changed significantly in version 4.0. Time > spent working on detailed optimizations of gcc 3.4 is almost certainly > time wasted. Walk

Re: Freescale 68HC11/68HC12 port (gcc newbie help request)

2012-03-21 Thread Ian Lance Taylor
James Murray writes: > However, the generated code isn't as good as the output from 3.3.6. I > swapped back to unpatched 3.4.4 and compared with unpatched 3.3.6. I can understand why you are doing this. However, you should be aware that the compiler internals changed significantly in version 4.

Re: Freescale 68HC11/68HC12 port (gcc newbie help request)

2012-03-21 Thread James Murray
On Wed, 2011-01-26 at 14:55 +, James Murray wrote: > On Wed, 2011-01-26 at 15:40 +0100, Richard Guenther wrote: > > > Stephane Carrez is listed as maintainer of the port, so he should > > know how to contribute fixes to the port upstream. > > > Yes, but as I said... he is no longer active on

Re: Newbie

2007-11-12 Thread Matthieu Kaczmarek
Thanks a lot for the hints, those are clear leads to start with. Matthieu

Re: Newbie

2007-11-12 Thread Eric Botcazou
> If it is possible, I would like to begin with a small project to get > familiar with GCC code. I have been through the "Simple GCC projects" > web page and I would be interested in project such as "Convert > reorg.c to use the flow graph". You could also pick an open PR in Bugzilla (http://gcc.g

Re: Newbie

2007-11-11 Thread Paolo Bonzini
If it is possible, I would like to begin with a small project to get familiar with GCC code. I have been through the "Simple GCC projects" web page and I would be interested in project such as "Convert reorg.c to use the flow graph". Could someone help me to get involved ? I cannot but reinfo

Re: Newbie

2007-11-10 Thread Laurynas Biveinis
Hi, I was (and largely still am) in your situation. I'd suggest to start, if you already haven't done so, by just trying building (bootstrapping) GCC as needed for development, running testsuite, learning how to compare two testsuite runs. Then try running cc1 under gdb, familiarize with the GCC o

Newbie

2007-11-09 Thread Matthieu Kaczmarek
Hi, Greatings everyone. I new on this mailnig list and I would like to help. I'm a french Phd student in computer science. I am familiar with grammar, compiler and language theory and I have some programming skills and some experience with the libc and GNU standard. If it is possible, I w

Re: Newbie questions about gcc / glibc

2007-09-18 Thread Ian Lance Taylor
"Frederich, Eric P21322" <[EMAIL PROTECTED]> writes: > I have a bunch of command line programs and I am trying to support > Windows, Linux and an older version of Solaris. > I got the same version of gcc working on all 3 platforms. > > Now the problem is that I can't get getopt_long to work which

Re: Newbie questions about gcc / glibc

2007-09-18 Thread DJ Delorie
> I saw getopt.h, getopt.c, and getopt1.c in my gcc directory under > libiberty. What are these for? Those are for building gcc itself. They're not normally used by applications, unless you want to import all of libiberty into your application. Normally, glibc provides the getopt family of fun

Newbie questions about gcc / glibc

2007-09-18 Thread Frederich, Eric P21322
Hello, I have a bunch of command line programs and I am trying to support Windows, Linux and an older version of Solaris. I got the same version of gcc working on all 3 platforms. Now the problem is that I can't get getopt_long to work which is provided by getopt.h. I don't know much about how al

Re: newbie : modifying C++ grammar

2006-09-15 Thread Paolo Bonzini
Suresh Shukla wrote: I have downloaded and built gcc-core and gcc-g++ (both 4.1.1). I am not able to locate the yacc file for C++. I want to experiment with some grammar changes. All parsers in GCC, but the Java parser, are hand written. The C++ parser is in gcc/cp/parser.c and was rewritt

newbie : modifying C++ grammar

2006-09-15 Thread Suresh Shukla
I have downloaded and built gcc-core and gcc-g++ (both 4.1.1). I am not able to locate the yacc file for C++. I want to experiment with some grammar changes. -Suresh __ Yahoo! India Answers: Share what you know. Learn

Re: gcc newbie and open projects

2005-08-24 Thread Paolo Bonzini
Is this still an open project? and if so can anyone give me more information on what is needed? Yes, it is. Basically, insn-recog.c is a huge decision tree. genrecog.c builds it and outputs it as C code. It uses variables like "x0, x1, x2, ..., xn" which would become the virtual machine's

gcc newbie and open projects

2005-08-24 Thread Brian Makin
Hello all! I would very much like to contribute to the gcc project and as such have been monitoring the gcc list and perusing the documentation. One project in particular looks interesting. Make insn-recog.c use a byte-coded DFA. Richard Henderson and I started this back in 1999 but never fini

Newbie question: Offset for a pseudo.

2005-06-27 Thread N V Krishna
Hello All, I have two questions. I am trying to implement some new register allocator scheme and at this moment I am trying to spill some of the pseudos. I am facing two questions: - For globals how to find the offset of the pseudo from the beginning variable section? For example for constants in

Re: A newbie question: Maping pseudos to declaration.

2005-05-28 Thread N V Krishna
One more thing I forgot to mention is that, I am working on a rather old version of gcc - 2.95.2 for some reasons. Krishna. On Sat, 28 May 2005, Ian Lance Taylor wrote: #N V Krishna <[EMAIL PROTECTED]> writes: # #> I am trying to do some modifications to the register allocator and for the #> arc

Re: A newbie question: Maping pseudos to declaration.

2005-05-28 Thread Ian Lance Taylor
N V Krishna <[EMAIL PROTECTED]> writes: > I am trying to do some modifications to the register allocator and for the > architecture I am dealing with, I want to handle different type of pseudos > differently. All local scalars fall under one group, local struct/union > variables under one group an

A newbie question: Maping pseudos to declaration.

2005-05-28 Thread N V Krishna
Hello All, I am trying to do some modifications to the register allocator and for the architecture I am dealing with, I want to handle different type of pseudos differently. All local scalars fall under one group, local struct/union variables under one group and all globals under one group. Given a