linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Problems of the corss-compiler.
@ 2000-08-28 17:17 Seong-kyu Ko
  2000-08-28 17:25 ` Ralph Blach
  2000-08-28 18:04 ` Cal Erickson
  0 siblings, 2 replies; 7+ messages in thread
From: Seong-kyu Ko @ 2000-08-28 17:17 UTC (permalink / raw)
  To: linuxppc-embedded


Hi everyone.
First, I'm sorry for my weak English.

Well, Now I build a powerpc cross-compiler.
so I compiled some binary using that cross-compiler, but
I have some problems.

I think cross-compiler is not problem.
because I compile kernel with that cross-compiler, and
kernel runs good.

but, init, shell etc thease binaries have some problems.
shell cant recieve argument, and some binaries print 'segmentation fault'

I don't know why my compiler can't compile well.

These are the packages that I used.
1. binutils-2.10
2. gcc-2.95.2
3. glibc-2.1.3 (add-ons : glibc-crypt-2.1, glibc-linuxthreads-2.1.3)

First, I compile the binutils for powerpc cpu.
Second, I build cross compiler with gcc.
Third, I compile glibc for powerpc with cross compiler that I made.
Last, I re-build cross compiler include glibc for library.

Please tell me what do you think about that And why the problem happen.
I'll wait your answers.
thank you.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Problems of the corss-compiler.
@ 2000-08-28 17:38 Whitney, John
  0 siblings, 0 replies; 7+ messages in thread
From: Whitney, John @ 2000-08-28 17:38 UTC (permalink / raw)
  To: 'Seong-kyu Ko', linuxppc-embedded


Depending on what processor you are using, you may or may not need to
compile the development environment to use software floating-point.  The
860 serial does not have the FPU (at least, none that I know of do), while
the 8260 and 603 series do.

Trying to execute code compiled with hardware floating-point on a processor
without this will result in a crash (floating-point exception, I believe).

Most of the tools compile fairly well for software floating-point, but the
glibc code needs some source modification.

John Whitney
johnw@aiinet.com

-----Original Message-----
From: Seong-kyu Ko [mailto:sugenius@doit.ajou.ac.kr]
Sent: Monday, August 28, 2000 1:18 PM
To: linuxppc-embedded@lists.linuxppc.org
Subject: Problems of the corss-compiler.



Hi everyone.
First, I'm sorry for my weak English.

Well, Now I build a powerpc cross-compiler.
so I compiled some binary using that cross-compiler, but
I have some problems.

I think cross-compiler is not problem.
because I compile kernel with that cross-compiler, and
kernel runs good.

but, init, shell etc thease binaries have some problems.
shell cant recieve argument, and some binaries print 'segmentation fault'

I don't know why my compiler can't compile well.

These are the packages that I used.
1. binutils-2.10
2. gcc-2.95.2
3. glibc-2.1.3 (add-ons : glibc-crypt-2.1, glibc-linuxthreads-2.1.3)

First, I compile the binutils for powerpc cpu.
Second, I build cross compiler with gcc.
Third, I compile glibc for powerpc with cross compiler that I made.
Last, I re-build cross compiler include glibc for library.

Please tell me what do you think about that And why the problem happen.
I'll wait your answers.
thank you.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-08-29  4:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-28 17:17 Problems of the corss-compiler Seong-kyu Ko
2000-08-28 17:25 ` Ralph Blach
2000-08-28 18:04 ` Cal Erickson
2000-08-28 19:34   ` Tom Roberts
2000-08-29  4:11   ` software floating point ÁֹαÔ
2000-08-29  4:48     ` Graham Stoney
  -- strict thread matches above, loose matches on Subject: below --
2000-08-28 17:38 Problems of the corss-compiler Whitney, John

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).