* RE: x86(host) --> ppc(tgt) cross-tool-chain
@ 2003-06-06 17:40 Lokesh Kumar
2003-06-06 18:02 ` gdb configuration for powerpc target on pentium pc dong in kang
2003-06-07 2:13 ` x86(host) --> ppc(tgt) cross-tool-chain Karim Yaghmour
0 siblings, 2 replies; 3+ messages in thread
From: Lokesh Kumar @ 2003-06-06 17:40 UTC (permalink / raw)
To: 'karim@opersys.com', Lokesh Kumar; +Cc: brian.auld, linuxppc-embedded
Yes, it does work. I have a small web server running with glibc-2.2.3.
Lokesh
-----Original Message-----
From: Karim Yaghmour [mailto:karim@opersys.com]
Sent: Friday, June 06, 2003 11:11 AM
To: Lokesh Kumar
Cc: brian.auld@adic.com; linuxppc-embedded@lists.linuxppc.org
Subject: Re: x86(host) --> ppc(tgt) cross-tool-chain
Lokesh Kumar wrote:
> I built the toolchain on x86 host for PPC, and I used
>
> GCC-2.95.3
> GLIBC-2.2.3
> Binutils-2.11.92
>
> I did not use Karim's book. I went with "Embedded Linux Interfacing ...."
> book.
:)
I have to ask: Did this toolchain actually work for you on the target?
I mean, did you try using glibc-2.2.3 on the PPC target? From I've
seen, gcc 2.95.3 with glibc 2.2.3 will successfully generate a glibc,
but the resulting glibc will core dump on the target.
Karim
--
Author, Speaker, Developer, Consultant
Pushing Embedded and Real-Time Linux Systems Beyond the Limits
http://www.opersys.com || karim@opersys.com || 514-812-4145
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* gdb configuration for powerpc target on pentium pc
2003-06-06 17:40 x86(host) --> ppc(tgt) cross-tool-chain Lokesh Kumar
@ 2003-06-06 18:02 ` dong in kang
2003-06-07 2:13 ` x86(host) --> ppc(tgt) cross-tool-chain Karim Yaghmour
1 sibling, 0 replies; 3+ messages in thread
From: dong in kang @ 2003-06-06 18:02 UTC (permalink / raw)
To: linuxppc-embedded
I'm trying to debug Linux kernel on the Sandpoint X3 with MPC755 CPU board.
I'm using BDI 2000 with GDB.
I configured gdb v.5.3 as follows
configure --prefix=/usr/local/cross-ppc/host/intel/ --target=powerpc-linux
While I used the gdb with BDI, the breakpoints set by gdb do not work well.
It doesn't stop.
After a while, I typed Ctrl-C to stop it. Then it shows the messages shown
below.
And then it terminates. Could it be GDB configuration problem?
Has anybody got similar problem?
Thanks in advance.
Dong-In
-------------------
Program received signal SIGSTOP, Stopped (signal).
0x0000d048 in todc_mc146818_read_val (addr=255)
at
/opt/hardhat/previewkit/kernel/linux-2.4.17_mvl21/include/asm/io.h:299
299 __asm__ __volatile__("lbz%U1%X1 %0,%1; eieio" : "=r" (ret) :
"m" (*addr));
(gdb) s
Cannot remove breakpoints because program is no longer writable.
It might be running in another process.
Further execution is probably impossible.
todc_mc146818_read_val (addr=32) at todc_time.c:119
119 return inb(todc_info->nvram_data);
--------------------------------------------------------
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: x86(host) --> ppc(tgt) cross-tool-chain
2003-06-06 17:40 x86(host) --> ppc(tgt) cross-tool-chain Lokesh Kumar
2003-06-06 18:02 ` gdb configuration for powerpc target on pentium pc dong in kang
@ 2003-06-07 2:13 ` Karim Yaghmour
1 sibling, 0 replies; 3+ messages in thread
From: Karim Yaghmour @ 2003-06-07 2:13 UTC (permalink / raw)
To: Lokesh Kumar; +Cc: brian.auld, linuxppc-embedded
Lokesh Kumar wrote:
> Yes, it does work. I have a small web server running with glibc-2.2.3.
...
> > I built the toolchain on x86 host for PPC, and I used
> >
> > GCC-2.95.3
> > GLIBC-2.2.3
> > Binutils-2.11.92
It seems the success with a toolchain component version set depends on the
native tools you have on your workstation. Can you tell me what distro
you were using on your workstation when you built glibc 2.2.3 in the
above setup.
Thanks,
Karim
--
Author, Speaker, Developer, Consultant
Pushing Embedded and Real-Time Linux Systems Beyond the Limits
http://www.opersys.com || karim@opersys.com || 514-812-4145
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-06-07 2:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-06 17:40 x86(host) --> ppc(tgt) cross-tool-chain Lokesh Kumar
2003-06-06 18:02 ` gdb configuration for powerpc target on pentium pc dong in kang
2003-06-07 2:13 ` x86(host) --> ppc(tgt) cross-tool-chain Karim Yaghmour
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).