This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ARM: 2nd Stage of xGCC -- failure


Dear all,

me again '-).

I am trying to create a cross-compiler for arm-linux with support of
glibc as I need to get Linux running on an ARM -- something, that must
have been done a thousand times, I suggest :-|

My environment I want to built:

  binutils-2.11
  gcc-2.95.3
  glibc-2.2.2
  linux-2.4.3

Up to now, I managed until and inclusive glibc -- a least there was no
complain by make install.

Trying to build the second stage of gcc with 'make LANGUAGES="c c++"'
I arrive until

In file included from
/home/ruf/Cross/arm-linux/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/math.h:350,
                 from /home/ruf/Cross/src/gcc-2.95.3/libstdc++/cmath:7,
                 from
/home/ruf/Cross/src/gcc-2.95.3/libstdc++/cmathi.cc:7:
/home/ruf/Cross/arm-linux/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/bits/mathinline.h:
In function `double atan2(double, double)':
/home/ruf/Cross/arm-linux/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/bits/mathinline.h:475:
unknown register name `st(1)' in `asm'

My -- maybe trivial -- questions:
- Does anybody know how I can circumvent this problem and would be so kind
  to share his knowledge with me?
- Do I really need C++ support to build the Linux kernel for ARM?

Any help is very appreaciated!

Lukas
-- 
Lukas Ruf                        Swiss Federal Institute of Technology
Office: ETZ-G61.2                             Computer Engineering and
Phone: +41/1/632 7312                        Networks Laboratory (TIK)
Fax:   +41/1/632 1035                                      ETH Zentrum
PGP 2.6: ID D20BA2ED;                                    Gloriastr. 35
Fingerprint 6323 B9BC 9C8E 6563  B477 BADD FEA6 E6B7    CH-8092 Zurich

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]