* Re: cross compiling of bash for 8xx
2000-05-20 5:07 ` cross compiling of bash for 8xx RAJESH.B.V
@ 2000-05-20 4:49 ` Dan Malek
2000-05-20 20:04 ` Marcus Sundberg
1 sibling, 0 replies; 5+ messages in thread
From: Dan Malek @ 2000-05-20 4:49 UTC (permalink / raw)
To: RAJESH.B.V; +Cc: linuxppc-embedded
"RAJESH.B.V" wrote:
> can any one suggest me the solutions for the above..
ftp.mvista.com
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* cross compiling of bash for 8xx
@ 2000-05-20 5:07 ` RAJESH.B.V
2000-05-20 4:49 ` Dan Malek
2000-05-20 20:04 ` Marcus Sundberg
0 siblings, 2 replies; 5+ messages in thread
From: RAJESH.B.V @ 2000-05-20 5:07 UTC (permalink / raw)
To: linuxppc-embedded
Hi All,
I'm a newbie entered into this Linux world and working on mbx860...
i'm able to build the kernel and succeeded in running it.
But when i try to compile the applications like Bash and all i'm getting
some problem with shared libraries.
i'm using the compiler powerpc-linux-gcc with version 2.95.2 and glibc
with version 1.99
if i compile with static libraries it is fine.
When compiling Bash-2.03 when i try to configure with the command
" CC=powerpc-linux-gcc ./configure --target=860 " it is giving error when
it is searching to configure for "getpgrep".
so the configure is exiting..
And when i compile the ping application it is compiling well and when i try
to run it on my mbx860 board it is displaying an error that
"shared library libc.s0.6 is not found. failed to open libc.so.6"
but actually that lib file is there in the /lib path.
can any one suggest me the solutions for the above..
Is there any site providing the minimal root file system Disk Image with
libc-6 to download.
Thanks,
Rajesh
******************************************************************
B.V. Rajesh
RENDEZVOUS ON CHIP (I) PVT.LTD.
VOICE: ph:040-7742606 ( Extn )- 306
mailto:rajeshbv@trinc.com
Web Page : http://www.trinc.com
******************************************************************
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cross compiling of bash for 8xx
2000-05-20 5:07 ` cross compiling of bash for 8xx RAJESH.B.V
2000-05-20 4:49 ` Dan Malek
@ 2000-05-20 20:04 ` Marcus Sundberg
2000-05-24 6:54 ` RAJESH.B.V
1 sibling, 1 reply; 5+ messages in thread
From: Marcus Sundberg @ 2000-05-20 20:04 UTC (permalink / raw)
To: RAJESH.B.V; +Cc: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 1706 bytes --]
"RAJESH.B.V" <rajeshbv@trinc.com> writes:
> Hi All,
> I'm a newbie entered into this Linux world and working on mbx860...
> i'm able to build the kernel and succeeded in running it.
> But when i try to compile the applications like Bash and all i'm getting
> some problem with shared libraries.
> i'm using the compiler powerpc-linux-gcc with version 2.95.2 and glibc
> with version 1.99
> if i compile with static libraries it is fine.
> When compiling Bash-2.03 when i try to configure with the command
> " CC=powerpc-linux-gcc ./configure --target=860 " it is giving error when
> it is searching to configure for "getpgrep".
> so the configure is exiting..
--target is wrong here.
--build is the environment you are compiling on.
--host is the environment the program(s) will run on.
--target is afaik only applicable for binutils, gcc and gdb, and
specifies the system to generate code for (debug in the case of gdb).
> And when i compile the ping application it is compiling well and when i try
> to run it on my mbx860 board it is displaying an error that
> "shared library libc.s0.6 is not found. failed to open libc.so.6"
> but actually that lib file is there in the /lib path.
>
> can any one suggest me the solutions for the above..
> Is there any site providing the minimal root file system Disk Image with
> libc-6 to download.
The ping problem sounds like either a broken development environment
and/or a broken runtime environment, hard to tell what the problem
is there. strace and LD_DEBUG=help are your friends.
As for cross compiling bash and other autoconf using applications
I've been using a handy little wrapper script for configure. It's
attached to this mail.
//Marcus
[-- Attachment #2: acwppc --]
[-- Type: application/x-sh, Size: 2307 bytes --]
[-- Attachment #3: Type: text/plain, Size: 255 bytes --]
--
-------------------------------+-----------------------------------
Marcus Sundberg | Phone: +46 707 452062
Embedded Systems Consultant | Email: marcus@cendio.se
Cendio Systems AB | http://www.cendio.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cross compiling of bash for 8xx
2000-05-20 20:04 ` Marcus Sundberg
@ 2000-05-24 6:54 ` RAJESH.B.V
2000-05-24 12:58 ` Jason Wohlgemuth
0 siblings, 1 reply; 5+ messages in thread
From: RAJESH.B.V @ 2000-05-24 6:54 UTC (permalink / raw)
To: linuxppc-embedded
Hi Marcus,
Thank you for providing the script to compile bash.
Now i am able to compile the bash with some changes.
it gave some error while compiling the malloc to choose from gnu_malloc
or gcc_malloc
So i turned off both the options and compiled.
But still it is not executing.
After completing all the checkings at the boot time the board is hanging
without giving the prompt.
I have compiled one more shell called "sash" and able to execute it.
At the same time i have compiled the Busybox and it is also executing under
Sash shell.
I found some binaries which are for PPC8xx at mvista.com site. From that
site also i have downloaded the bash binary and failed to get the shell.
I did not able to understand why some binaries are executing which are
compiled with the same compiler and some are not...
I am using GCC version 2.95.2 and Glibc version 2.
I checked both the binaries which are working and failed with a hex editor .
They were showing the same shared libraries as " /lib/ld.so.1"
and using some #defines in "libc.so.6."
Will be there any difference between the binaries compiled with cross
compiler and straight compiler. i feel there should not be.
Thanks in regards,
--Rajesh
At 10:04 PM 5/20/00 +0200, you wrote:
>"RAJESH.B.V" <rajeshbv@trinc.com> writes:
>
>> Hi All,
>> I'm a newbie entered into this Linux world and working on mbx860...
>> i'm able to build the kernel and succeeded in running it.
>> But when i try to compile the applications like Bash and all i'm getting
>> some problem with shared libraries.
>> i'm using the compiler powerpc-linux-gcc with version 2.95.2 and glibc
>> with version 1.99
>> if i compile with static libraries it is fine.
>> When compiling Bash-2.03 when i try to configure with the command
>> " CC=powerpc-linux-gcc ./configure --target=860 " it is giving error when
>> it is searching to configure for "getpgrep".
>> so the configure is exiting..
>
>--target is wrong here.
>
>--build is the environment you are compiling on.
>--host is the environment the program(s) will run on.
>--target is afaik only applicable for binutils, gcc and gdb, and
>specifies the system to generate code for (debug in the case of gdb).
>
>> And when i compile the ping application it is compiling well and when i try
>> to run it on my mbx860 board it is displaying an error that
>> "shared library libc.s0.6 is not found. failed to open libc.so.6"
>> but actually that lib file is there in the /lib path.
>>
>> can any one suggest me the solutions for the above..
>> Is there any site providing the minimal root file system Disk Image with
>> libc-6 to download.
>
>The ping problem sounds like either a broken development environment
>and/or a broken runtime environment, hard to tell what the problem
>is there. strace and LD_DEBUG=help are your friends.
>
>As for cross compiling bash and other autoconf using applications
>I've been using a handy little wrapper script for configure. It's
>attached to this mail.
>
>//Marcus
>
>
>Attachment Converted: "C:\rajmail\Eudora\attach\acwppc"
>--
>-------------------------------+-----------------------------------
> Marcus Sundberg | Phone: +46 707 452062
> Embedded Systems Consultant | Email: marcus@cendio.se
> Cendio Systems AB | http://www.cendio.com
>
******************************************************************
B.V. Rajesh
RENDEZVOUS ON CHIP (I) PVT.LTD.
VOICE: ph:040-7742606 ( Extn )- 306
mailto:rajeshbv@trinc.com
Web Page : http://www.trinc.com
******************************************************************
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: cross compiling of bash for 8xx
2000-05-24 6:54 ` RAJESH.B.V
@ 2000-05-24 12:58 ` Jason Wohlgemuth
0 siblings, 0 replies; 5+ messages in thread
From: Jason Wohlgemuth @ 2000-05-24 12:58 UTC (permalink / raw)
To: RAJESH.B.V, linuxppc-embedded
Rajesh,
Did you also download the pre-built 8xx glibc 2.1? If I were you, I would
try and use all the pre-built binaries and executables from mvista to make
sure everything is working, then attempt to build everything yourself.
Building everything yourself just takes a significant amount of time and has
a couple gotchas.
Good luck,
Jason
-----Original Message-----
From: owner-linuxppc-embedded@lists.linuxppc.org
[mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of
RAJESH.B.V
Sent: Wednesday, May 24, 2000 2:55 AM
To: linuxppc-embedded@lists.linuxppc.org
Subject: Re: cross compiling of bash for 8xx
Hi Marcus,
Thank you for providing the script to compile bash.
Now i am able to compile the bash with some changes.
it gave some error while compiling the malloc to choose from gnu_malloc
or gcc_malloc
So i turned off both the options and compiled.
But still it is not executing.
After completing all the checkings at the boot time the board is hanging
without giving the prompt.
I have compiled one more shell called "sash" and able to execute it.
At the same time i have compiled the Busybox and it is also executing under
Sash shell.
I found some binaries which are for PPC8xx at mvista.com site. From that
site also i have downloaded the bash binary and failed to get the shell.
I did not able to understand why some binaries are executing which are
compiled with the same compiler and some are not...
I am using GCC version 2.95.2 and Glibc version 2.
I checked both the binaries which are working and failed with a hex editor .
They were showing the same shared libraries as " /lib/ld.so.1"
and using some #defines in "libc.so.6."
Will be there any difference between the binaries compiled with cross
compiler and straight compiler. i feel there should not be.
Thanks in regards,
--Rajesh
At 10:04 PM 5/20/00 +0200, you wrote:
>"RAJESH.B.V" <rajeshbv@trinc.com> writes:
>
>> Hi All,
>> I'm a newbie entered into this Linux world and working on mbx860...
>> i'm able to build the kernel and succeeded in running it.
>> But when i try to compile the applications like Bash and all i'm getting
>> some problem with shared libraries.
>> i'm using the compiler powerpc-linux-gcc with version 2.95.2 and glibc
>> with version 1.99
>> if i compile with static libraries it is fine.
>> When compiling Bash-2.03 when i try to configure with the command
>> " CC=powerpc-linux-gcc ./configure --target=860 " it is giving error when
>> it is searching to configure for "getpgrep".
>> so the configure is exiting..
>
>--target is wrong here.
>
>--build is the environment you are compiling on.
>--host is the environment the program(s) will run on.
>--target is afaik only applicable for binutils, gcc and gdb, and
>specifies the system to generate code for (debug in the case of gdb).
>
>> And when i compile the ping application it is compiling well and when i
try
>> to run it on my mbx860 board it is displaying an error that
>> "shared library libc.s0.6 is not found. failed to open libc.so.6"
>> but actually that lib file is there in the /lib path.
>>
>> can any one suggest me the solutions for the above..
>> Is there any site providing the minimal root file system Disk Image with
>> libc-6 to download.
>
>The ping problem sounds like either a broken development environment
>and/or a broken runtime environment, hard to tell what the problem
>is there. strace and LD_DEBUG=help are your friends.
>
>As for cross compiling bash and other autoconf using applications
>I've been using a handy little wrapper script for configure. It's
>attached to this mail.
>
>//Marcus
>
>
>Attachment Converted: "C:\rajmail\Eudora\attach\acwppc"
>--
>-------------------------------+-----------------------------------
> Marcus Sundberg | Phone: +46 707 452062
> Embedded Systems Consultant | Email: marcus@cendio.se
> Cendio Systems AB | http://www.cendio.com
>
******************************************************************
B.V. Rajesh
RENDEZVOUS ON CHIP (I) PVT.LTD.
VOICE: ph:040-7742606 ( Extn )- 306
mailto:rajeshbv@trinc.com
Web Page : http://www.trinc.com
******************************************************************
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-05-24 12:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <"RAJESH.B.V"'s message of "Sat, 20 May 2000 10:07:36 +0500">
2000-05-20 5:07 ` cross compiling of bash for 8xx RAJESH.B.V
2000-05-20 4:49 ` Dan Malek
2000-05-20 20:04 ` Marcus Sundberg
2000-05-24 6:54 ` RAJESH.B.V
2000-05-24 12:58 ` Jason Wohlgemuth
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).