in reply to perl 2.01 on Cygwin

Then, I had to make a few edits:

1. stab.c: commented out extern errno and replaced it with: int errno;

Very likely, that won't work as expected, because now perl and the libc have two different ideas of where the last error code is stored. errno is an extern int, or some voodoo that makes your code behave as if it was an extern int. The clean way is to remove the errno declaration and add #include <errno.h> instead.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Replies are listed 'Best First'.
Re^2: perl 2.01 on Cygwin
by rje (Deacon) on Apr 02, 2019 at 05:33 UTC
    Thanks for that! I'll be learning things like that as I go make mistakes. Onward then.