* linux-embedded: which shell, termcap or ncurses ?
@ 1999-12-21 2:22 Brendan Simon
1999-12-21 17:44 ` Dan Malek
1999-12-21 21:33 ` Scott Wood
0 siblings, 2 replies; 4+ messages in thread
From: Brendan Simon @ 1999-12-21 2:22 UTC (permalink / raw)
To: linux-embedded, linuxppc-embedded
I am trying to get a powerpc embedded system up and running. I have
compiled the kernel and can mount a root filesystem using initrd or
nfs. I now need to get a shell running so I can call shell scripts to
setup the IP addresses etc via ifconfig (is there any other way ?).
I got the latest version of bash(2.0.3) and ncurses(5.0). Bash requires
termcap but apparently termcap is obsolete and is replaced by ncurses.
I had some trouble getting ncurses to cross-compile but I manged to hack
around with configure, make and the source code and eventually get it to
compile and install. Bash is proving more difficult.
Does anyone have any recommendations for a good shell and termcap that
cross-compiles without too much effort ? If so, where can I get them
and are they maintained ?
Has anyone cross-compiled a recent version of bash and ncurses ? Are
they huge ? Will they fit on a 4MB initrd image ?
Thanks,
Brendan Simon.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-embedded: which shell, termcap or ncurses ?
1999-12-21 2:22 linux-embedded: which shell, termcap or ncurses ? Brendan Simon
@ 1999-12-21 17:44 ` Dan Malek
1999-12-22 0:21 ` Brendan Simon
1999-12-21 21:33 ` Scott Wood
1 sibling, 1 reply; 4+ messages in thread
From: Dan Malek @ 1999-12-21 17:44 UTC (permalink / raw)
To: bsimon; +Cc: linux-embedded, linuxppc-embedded
Brendan Simon wrote:
> ... I now need to get a shell running so I can call shell scripts to
> setup the IP addresses etc via ifconfig (is there any other way ?).
Why don't you just use the binaries from a standard distribution?
I try to use as much of this as I can, and it seems to make the
job easier for me.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-embedded: which shell, termcap or ncurses ?
1999-12-21 17:44 ` Dan Malek
@ 1999-12-22 0:21 ` Brendan Simon
0 siblings, 0 replies; 4+ messages in thread
From: Brendan Simon @ 1999-12-22 0:21 UTC (permalink / raw)
Cc: linuxppc-embedded
Dan Malek wrote:
> Brendan Simon wrote:
>
> > ... I now need to get a shell running so I can call shell scripts to
> > setup the IP addresses etc via ifconfig (is there any other way ?).
>
> Why don't you just use the binaries from a standard distribution?
> I try to use as much of this as I can, and it seems to make the
> job easier for me.
I want to use Linux in a commercial product. It's a security product
and some of our clients require that the source code be available and
that all code can be maintained using a source configuration mangement
system. All files must be compilable from the SCM using set procedures.
These requirements are part of an evaluation specification that we must
conform to.
I guess one could argue that the procedures would be to compile on a
powerpc machine and transfer the binaries. At this stage it is not an
option but I will be getting a G4 server in January so life might be
easier.
I'd still prefer to be able to compile all the source for our product.
Brendan Simon.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-embedded: which shell, termcap or ncurses ?
1999-12-21 2:22 linux-embedded: which shell, termcap or ncurses ? Brendan Simon
1999-12-21 17:44 ` Dan Malek
@ 1999-12-21 21:33 ` Scott Wood
1 sibling, 0 replies; 4+ messages in thread
From: Scott Wood @ 1999-12-21 21:33 UTC (permalink / raw)
To: bsimon; +Cc: linuxppc-embedded
Brendan Simon wrote:
> I am trying to get a powerpc embedded system up and running. I have
> compiled the kernel and can mount a root filesystem using initrd or
> nfs. I now need to get a shell running so I can call shell scripts to
> setup the IP addresses etc via ifconfig (is there any other way ?).
>
> I got the latest version of bash(2.0.3) and ncurses(5.0). Bash requires
> termcap but apparently termcap is obsolete and is replaced by ncurses.
>
You can still use an earlier 1.x version of bash which is linked to
libtermcap.
It will be much smaller and you probably don't need much functionality in
your
shell if you're just setting up networking and running simple scripts.
> Has anyone cross-compiled a recent version of bash and ncurses ? Are
> they huge ? Will they fit on a 4MB initrd image ?
My bash, from the yellowdog distro, stripped, is about 400k.
If you're worried about space, strip all your binaries and libraries,
and look at possibly using a more minimal shell like ash.
>
> Thanks,
> Brendan Simon.
--
Scott Wood
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-12-22 0:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-21 2:22 linux-embedded: which shell, termcap or ncurses ? Brendan Simon
1999-12-21 17:44 ` Dan Malek
1999-12-22 0:21 ` Brendan Simon
1999-12-21 21:33 ` Scott Wood
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).