[980425] makeinfo errors
B. James Phillippe
bryan@terran.org
Wed Apr 29 18:36:00 GMT 1998
On Wed, 29 Apr 1998, Jim Wilson wrote:
> It appears that the getopt_long function call in texinfo's main function
> is failing. It isn't recognizing -o as an option, so it tries to treat it
> as a file, and then we get a 'No such file of directory' message from perror.
Exactly.
> Perhaps the problem here is that your system compiler (gcc?, cc?) is
> miscompiling texinfo/lib/getopt1.c. You could try compiling egcs with
> a different compiler than the one you have been using.
No, that wasn't it. However, I did find the problem. I happen to be one
of those very rare people who lives with the environment variable
POSIXLY_CORRECT set. :) getopt (et al) act differently with this variable
set, and programs which use command-line arguments in a non-POSIXly
conformant fashion will probably break. When I unset this variable, the
problem vanishes. I will look at it closer this evening to determine
exactly what is happening. My guess is that argument processing is
stopping early.
thanks,
-bp
--
B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGT Inc.
http://earth.terran.org/~bryan
More information about the Gcc
mailing list