From: Marcus Sundberg <marcus@cendio.se>
To: "RAJESH.B.V" <rajeshbv@trinc.com>
Cc: <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: cross compiling of bash for 8xx
Date: 20 May 2000 22:04:56 +0200 [thread overview]
Message-ID: <veln15asyf.fsf@lipta.cendio.se> (raw)
In-Reply-To: "RAJESH.B.V"'s message of "Sat, 20 May 2000 10:07:36 +0500"
[-- 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
next prev parent reply other threads:[~2000-05-20 20:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
2000-05-24 6:54 ` RAJESH.B.V
2000-05-24 12:58 ` Jason Wohlgemuth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=veln15asyf.fsf@lipta.cendio.se \
--to=marcus@cendio.se \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=rajeshbv@trinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).