public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "B. James Phillippe" <bryan@terran.org>
To: Jim Wilson <wilson@cygnus.com>
Cc: egcs Mailing List <egcs@cygnus.com>
Subject: Re: [980425] makeinfo errors
Date: Wed, 29 Apr 1998 18:36:00 -0000	[thread overview]
Message-ID: <Pine.LNX.3.96.980429151345.23091A-100000@earth.terran.org> (raw)
In-Reply-To: <199804292213.PAA01379@rtl.cygnus.com>

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



  reply	other threads:[~1998-04-29 18:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-28 22:14 B. James Phillippe
1998-04-29 15:13 ` Jim Wilson
1998-04-29 18:36   ` B. James Phillippe [this message]
1998-04-30  1:40     ` Andreas Schwab
1998-04-30 20:03     ` Jim Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.3.96.980429151345.23091A-100000@earth.terran.org \
    --to=bryan@terran.org \
    --cc=egcs@cygnus.com \
    --cc=wilson@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).