To build a GCC corss compiler it would be good to use a specail tool
that is called "crosstool". You may look at the following links:
1. http://kegel.com/crosstool/
2. http://kegel.com/crosstool/current/doc/crosstool-howto.html
On 2/9/07, Bhaskar Reddy <[EMAIL PROTECTED]> wrote:
> Build binut
Ferad Zyulkyarov wrote :
To build a GCC corss compiler it would be good to use a specail tool
that is called "crosstool". You may look at the following links:
1. http://kegel.com/crosstool/
2. http://kegel.com/crosstool/current/doc/crosstool-howto.html
Everyone always building the target Linux
Hi Kai,
I agree that the things I wrote does not have much sense for people
that spent years in developing GCC, like you and most of the people
here are. I am very very very new in both using gcc and in its
internals. The first time when I was building cross platform gcc I
really did it from the
Hi,
I am working on gcc-4.1.1 and Itanium architecure. Today I try to add
a function call before each ld instruction. The method I use to
achieve this goal is to modify final_scan_insn() in final.c: before
calling get_insn_template, I add codes to check whether the insn
matches a template that wil
"吴曦" <[EMAIL PROTECTED]> writes:
> Now, my question becomes clear. How to make my inserted function call
> not affect the orginal state of program?
Make sure that the called function restores the original state of the
program before it returns.
Andreas.
--
Andreas Schwab, SuSE Labs, [EMA
Make sure that the called function restores the original state of the
program before it returns.
Andreas.
Thanks~. I know the goal is to restore the original state before the
inserted function returns. BUT, how to? Is there any way to tell gcc:
"Hey, you should restore the original state before
Hello all
(I am not subscribed to the list, please cc all replies)
I am cross-building the RedBoot bootloader (a part of the eCos project)
for a PXA270 target. I can successfully build it with gcc 3.3.2, but if
the same sources are compiled with 3.4.4, it crashes. The project is
mostly in C w
Andy, you must handle the calling convertion when inserting a function
call. It includes the saving and restoring of caller registers and the
proper passing of params.
On 2/9/07, Andrew Haley <[EMAIL PROTECTED]> wrote:
�NbjX writes:
> >
> > Make sure that the called function restores the origi
Kai Ruottu <[EMAIL PROTECTED]> writes:
> Ok, the traditional "evolutionary" method is to not reinvent the wheel
> with the already tested target components but let then be as they are
> and produce only the stuff required for the new $host, the GNU
> binutils and the GCC sources. NOT the target
On Fri, 9 Feb 2007, Guennadi Liakhovetski wrote:
Now, up to some gcc version there has been a -finit-priority option, which
was also used in eCos. As this option disappeared, having become silent
default, it worked also without it... with 3.4.4 no longer. Binutils version
used with 3.4.4 is 2.
Ayal Zaks/Haifa/IBM wrote on 07/02/2007 23:17:54:
> ...
>
> >Ah, right... I wonder if we can keep the loop structure in place, even
> >after completely unrolling the loop - I mean the 'struct loop' in
> >'current_loops' (not the actual CFG), so that the "SLP in loops" would
have
> >a chance to at
The doc on --enable-checking at:
http://gcc.gnu.org/install/configure.html
contains:
--enable-checking=list
and implies that list may either be a category (yes,all,release,no) or a
sequence of flags (e.g. fold,gcac,gc,valgrind); however, it doesn't
describe what the flags mean. Could so
On 07 Feb 2007 15:36:14 -0800
Ian Lance Taylor <[EMAIL PROTECTED]> wrote:
> Hanno Meyer-Thurow <[EMAIL PROTECTED]> writes:
>
> > sorry to bother again. I reduced the code (attached) that segfaults here
> > on Core 2 Duo [1]. If I add -fno-split-wide-types the code does not
> > segfault.
> > That
Hi, Patrice,
I don't know about inserting call at the basic block level, but I am
quite sure inserting calls at the function level could be done by
aspect-oriented-programming (AOP).
For example, we used our project, AspectC compiler (www.aspectc.net), to
weave in following aspect into gcc,
?? wrote:
Now, my question becomes clear. How to make my inserted function call
not affect the orginal state of program?
Try looking at a similar feature. One such similar feature is the
mcount calls emitted for profiling. The various solutions for mcount
include
1) saving lots of regis
>
> >Would you for a start please
> >explain what do you need to do that can't be done using existing arc and
> >value profiling?
> >
> Sorry, my first mail was not clear about the goal.
> Objectives are to follow the execution of function and basic block at
> execution time.
> To do this, we p
Greetings,
Are there any gcc-related issues with the upcoming changes to the
Daylight Savings Time switch in the US starting this year? That is, will
programs compiled with the gcc (excluding any third-party libraries)
have any time-related issues this year? If so, are certain versions of
gcc 200
On Fri, Feb 09, 2007 at 03:52:54PM -0500, Karnowski, David wrote:
> Are there any gcc-related issues with the upcoming changes to the
> Daylight Savings Time switch in the US starting this year? That is, will
> programs compiled with the gcc (excluding any third-party libraries)
> have any time-rel
Joe Buck wrote:
On Fri, Feb 09, 2007 at 03:52:54PM -0500, Karnowski, David wrote:
Are there any gcc-related issues with the upcoming changes to the
Daylight Savings Time switch in the US starting this year? That is, will
programs compiled with the gcc (excluding any third-party libraries)
have a
> ?? wrote:
> >Now, my question becomes clear. How to make my inserted function call
> >not affect the orginal state of program?
>
> Try looking at a similar feature. One such similar feature is the
> mcount calls emitted for profiling. The various solutions for mcount
> include
> 1) savin
GCC 4.1.2 RC2 is now available from:
ftp://gcc.gnu.org/pub/gcc/prerelease-4.1.2-20070208
and its mirrors.
The changes relative to RC1 are fixes for:
1. PR 29683: a wrong-code issue on Darwin
2. PR 30370: a build problem for certain PowerPC configurations
3. PR 29487: a build problem for HP-UX 1
Snapshot gcc-4.3-20070209 is now available on
ftp://gcc.gnu.org/pub/gcc/snapshots/4.3-20070209/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC 4.3 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/trunk
Hi there,
first of all let me thank you for the service you provide with GCC.GNU.org!
To support your efforts we put up a mirror on our website Cybermirror.org
under http://gcc.cybermirror.org.
The server is based in Karlsruhe, Germany and daily updated (cron).
Please let me know if it is appre
> "David" == David Daney <[EMAIL PROTECTED]> writes:
>>> Are there any gcc-related issues with the upcoming changes to the
>>> Daylight Savings Time switch in the US starting this year?
David> GCC does however ship with libgcj the java runtime library. Some
David> versions of libgcj may not
Another solution is to add the instrumentation earlier, and use expand_call.
Thanks for your hints. Is that means doing intrumentation at the "RTL
expand" level? However, I have tried the following method, add a
defined_expand in ia64.md, the template used in define_expand is the
same as the on
While building the gcc4-4.3.0-20070209 snapshot, I got the error
...
checking for correct version of gmp.h... no
configure: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
...
I am using the same script that worked last week and I have
gmp 4.2.1 and mpfr 2.2.1 since several builds. I am
On Sat, 2007-02-10 at 07:45 +0800, 吴曦 wrote:
> Thanks for your hints. Is that means doing intrumentation at the "RTL
> expand" level?
expand_call is a function in the calls.c file. It knows how to do
function calls correctly. If you use this, then registers will be saved
and restored correctly.
On Sat, Feb 10, 2007 at 12:56:13AM +0100, Dominique Dhumieres wrote:
> While building the gcc4-4.3.0-20070209 snapshot, I got the error
>
> ...
> checking for correct version of gmp.h... no
> configure: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
> ...
>
> I
Hi,
Division by zero is undefined. We chose to keep it:
http://gcc.gnu.org/ml/gcc-patches/2001-06/msg01068.html
But now gcc seems to optimize it away. For the following function:
$ cat t.c
#include
void foo (int rc)
{
int x = rc / INT_MAX;
x = 4 / x;
}
$ gcc -O2 -S t.c
$ cat t.s
.fi
> Tom Tromey writes:
Tom> David probably knows this, but for others, Jakub and Andrew put in a
Tom> patch for this today. I think it is only on trunk, not any other
Tom> branches.
Should this be included in GCC 4.1.2?
David
"Jie Zhang" <[EMAIL PROTECTED]> writes:
> But now gcc seems to optimize it away. For the following function:
>
> $ cat t.c
> #include
> void foo (int rc)
> {
> int x = rc / INT_MAX;
> x = 4 / x;
> }
I believe we still keep division by zero in general. In your example
it gets optimized away
On Fri, Feb 09, 2007 at 01:36:00PM -0800, Mark Mitchell wrote:
> GCC 4.1.2 RC2 is now available from:
>
> ftp://gcc.gnu.org/pub/gcc/prerelease-4.1.2-20070208
OK, I untarred it, built, and tested.
I have test results for all languages except Ada, for RHEL 3
(ancient, but with binutils-2.17), on a
On Sat, Feb 10, 2007 at 12:49:56AM -0500, David Edelsohn wrote:
> > Tom Tromey writes:
>
> Tom> David probably knows this, but for others, Jakub and Andrew put in a
> Tom> patch for this today. I think it is only on trunk, not any other
> Tom> branches.
>
> Should this be included in G
34 matches
Mail list logo