[uClibc]awk replacement for initfini.pl
Rogelio M. Serrano Jr.
rogelio at evoworks.evoserve.com
Sat Oct 12 19:34:26 UTC 2002
-----BEGIN PGP SIGNED MESSAGE-----
On Sat, 12 Oct 2002, Erik Andersen wrote:
> On Sat Oct 12, 2002 at 10:33:52PM +0800, Rogelio M. Serrano Jr. wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > I just successfuly built gcc-3.2 on a uclibc only system derived from
> > transmeta's midori. when i try to compile uclibc-0.9.15, the build fails
> > when it tries to run initfini.pl. i dont want to install perl on my
> > system, so my only option is to rewrite it using awk.
> ok, go for it.
Well perl dont work with uclibc. Or does it? Somebody succeeded with that
already? mawk should work;
> > what does it do? I dont understand perl.
> I don't understand awk. :) During the uClibc compile, we compile
> libc/sysdeps/linux/common/initfini.c into arch specific asm code
> (initfini.s). We then use initfini.pl to split that file into
> two arch specific asm files (crti.S and crtn.S), which are used
> to setup constructors and destructors.
> > is it also a good idea to try to make msh bash compatible? it segfaults
> > now when i try to run gcc's configure script.
> msh should not segfault, but it also is not suitable for running
> configure scripts. Autoconf configure scripts require bash.
Ok then i will stick with bash. I need a good stable shell. Quickinit
based systems is a collection of shell scripts. If i try to hack msh it
will end up looking like a an obfuscated compiler.
> Erik B. Andersen http://codepoet-consulting.com/
> --This message was written using 73% post-consumer electrons--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the uClibc