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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl 2.01 on Cygwin
by rje (Deacon) on Apr 02, 2019 at 05:33 UTC |