[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Latest gcc cvs compilation error
From: |
Kang Tin LAI |
Subject: |
Re: [avr-gcc-list] Latest gcc cvs compilation error |
Date: |
Mon, 09 Sep 2002 23:57:22 +0800 |
Hello,
Just checked the source codes, a rs6000 maintainer changed gcc_target
structure in target.h, one field added. But the declaration for this
field is
pre-processed out by a #define in output.h, so
`default_assemble_visibility'
undeclared error.
Not clear such function for, added line:
extern void default_assemble_visibility PARAMS ((tree, const char *));
in front of:
struct gcc_target targetm = TARGET_INITIALIZER;
of avr.c source file, to by pass such error temporarily.
Compilation finished successfully, to be test run later.
I hate such maintainer, did something to the common base that all people
relied on without coordination and consideration with other people.
Regards.
--
---
Kang Tin LAI <address@hidden>
-----
Joerg Wunsch wrote:
>
> Kang Tin LAI <address@hidden> wrote:
>
> > I tried to compiled the latest gcc cvs source, but an error occured.
>
> Someone has spammed the gcc sources.
>
> It seems someone made TARGET_INITIALIZER dependent on
> default_assemble_visibility, but that's only declared in
> "output.h" iff TREE_CODE is #defined. I then gave up trying
> to find how it's supposed to work. ;-)
>
> My snapshot from 2002-09-01 works, the tree was broken on
> 2002/09/08 09:30:20 (UTC). You can find the snapshot used for
> my FreeBSD port under
>
> http://people.freebsd.org/~joerg/gcc-core+g++-3.3.2002.09.01.tar.bz2
>
> Please note that this is a cut-down gcc tree to reduce size somewhat,
> but it's suitable to build the AVR version. Since it's 11 MB, please
> anybody considering to fetch this file, do it only if you're seriously
> interested in compiling an avr-gcc snapshot yourself.
>
> --
> J"org Wunsch Unix support engineer
> address@hidden http://www.interface-systems.de/~j/
> avr-gcc-list at http://avr1.org
avr-gcc-list at http://avr1.org