about building bootstrap compiler with CROSSGCC-0.28-rc34
Thu Dec 2 01:26:00 GMT 2004
Dan, thank you very much. Your CROSSTOOL is really good, strong and
very useful. It helps me much. Thanks again. :)
On Wed, 01 Dec 2004 07:00:33 -0800, Dan Kegel <email@example.com> wrote:
> Wu Bridge wrote:
> > On Tue, 30 Nov 2004 11:04:20 -0800, Daniel Kegel <firstname.lastname@example.org> wrote:
> >>Wu Bridge wrote:
> >>>I'm working on building arm-linux toolchain for GCC-3.4, xscale. I
> >>>used CROSSTOOL-0.28-rc34/arm-iwmmxt, but the toolchain encountered
> >>>problem when building a large c++ project. I had another arm-linux
> >>>toolchain for GCC-3.3.2, which is OK to build that project.
> >>Can you post the error it encountered, and the source snippet that
> >>didn't build? It's quite likely that gcc-3.4 is running into
> >>something that it is stricter about than gcc-3.3 was.
> > You are right. The following are errors when building qte-3.04.
> > I have found http://gcc.gnu.org/ml/gcc-patches/2003-07/msg01664.html
> > describes GCC-3.4 prevents non-const reference bindings to packed
> > fields. This is correspond to the first error. The second error is
> > because GCC-3.4 require explicitly using this->clear() instead of
> > clear().
> > ...
> > In member function `ushort& QChar::unicode()':
> > /home/bridge/qpe/qpe-new-glibc/qt-embedded-free-3.0.4/include/qstring.h:178:
> > error: cannot bind packed field `((QChar*)this)->QChar::ucs' to
> > `ushort&'
> > ...
> Whew! Glad to hear it isn't crosstool's fault :-)
> >>gcc-3.4 is a tad bit harder to build than gcc-3.3, if I remember
> > It is.
> > BTW: It seems that the bootstrap gcc configured with
> > --with-inhibit-libc option works well. In case what do you consider
> > with so complex method? :)
> Oh, I dunno, probably because I needed it to work with all
> versions of gcc, and older versions need a different trick.
> - Dan
> Trying to get a job as a c++ developer? See http://kegel.com/academy/getting-hired.html
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to email@example.com
More information about the crossgcc