[uClibc]awk replacement for initfini.pl -- OT perl

John van V. john_van_v at yahoo.com
Sat Oct 12 17:59:22 UTC 2002


I dont know awk, or sed, and wish I did for busybox type reasons.

Has perl been compiled under uClib sucessfully ??  Or parts of it ??

John


--- Erik Andersen <andersen at codepoet.org> 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.
> 
> > 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.
> 
>  -Erik
> 
> --
> Erik B. Andersen             http://codepoet-consulting.com/
> --This message was written using 73% post-consumer electrons--
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc


=====
John van Vlaanderen--
      ##############################################################
      #   CXN, Inc. Contact:  john at thinman.com                     #
      #     President, The Linux Society                           #
      # http://groups.yahoo.com/group/thelinuxsociety              #
      # linux society distro -> http://www.thinman.com/eLSD/readme #
      ##############################################################

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com



More information about the uClibc mailing list