in reply to Re: extra .c file in .xs module building
in thread extra .c file in .xs module building

That did the trick. Many thanks!!

Now I don't seem to have "memclr" in my library paths. The "helper" program that's used in Makefile.PM outputs "-L/usr/local/lib" which goes into the LIBS array.

Do you (or anyone) know if memclr is deprecated in favor of memset? With an eye toward CPAN, I wouldn't want to use a library function that people don't have in standard libraries...

Many thanks,
cmac
www.animalhead.com
  • Comment on Re^2: extra .c file in .xs module building

Replies are listed 'Best First'.
Re^3: extra .c file in .xs module building
by chromatic (Archbishop) on Jan 18, 2009 at 07:34 UTC
    Do you (or anyone) know if memclr is deprecated in favor of memset?

    I don't have memclr available on my Ubuntu system, while memset is part of the C89 and C99 standards.

      Found a online dialog from some years ago where a smart young programmer told an old programmer like me "There is no memclr! Where did you hear of such an thing?". memclr was so long ago that it was limited to 256 bytes. Who would need to clear more memory than that? ;-)