develooper Front page | perl.perl5.porters | Postings from July 2008

Re: support for readdir in microperl

Thread Previous | Thread Next
From:
Marcus Holland-Moritz
Date:
July 31, 2008 13:57
Subject:
Re: support for readdir in microperl
Message ID:
20080731225731.0f3cfbf3@r2d2
Hello Ram,

On 2008-07-31, at 15:47:31 +0530, Ram kumar wrote:

> hi,
>      I have to run perl on my ATMEL AT91SAM9260(arm926ej-s) embedded
> platform since the exiftool is dependent on the perl library.
> I have successfully compiled microperl for my platform,since the full
> version of perl is big in size for the emebedded platform.
> 
> But microperl has certain limitations like it doesn't support
> functions like readdir etc..

Not true. At least my microperl does have a working readdir:

  mhx@r2d2 $ ./microperl -le 'opendir D, "."; while (defined($_ = readdir D)) { print }'
  .
  ..
  t
  upp_pack.o
  ext
  lib
  [...]

Which version of perl are you trying to build microperl from?

> Is there any possibility that i can make microperl support these
> functions....????
> 
> Please let me know what are the other functions that microperl doesn't
> support from the full version perl ???

Most of that is configurable via uconfig.sh.

Marcus

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About