public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@redhat.com>
To: Gregory Shpitalnik <gregory@il.marvell.com>
Cc: gcc@gnu.org, gcc@gcc.gnu.org
Subject: Re: Problem with putenv() in global constructor
Date: Tue, 07 Jan 2003 12:06:00 -0000	[thread overview]
Message-ID: <orznqdi42s.fsf@free.redhat.lsd.ic.unicamp.br> (raw)
Message-ID: <20030107120600.bwzSIyN9wwo_x_iEH8PXVOCOoGpOWAHVri7t0Fp5yeM@z> (raw)
In-Reply-To: <3E1A9A8E.A0B99971@il.marvell.com>

On Jan  7, 2003, Gregory Shpitalnik <gregory@il.marvell.com> wrote:

> I found some strange putenv() function behavior when it's used in a
> global object (C++ code).
> constructor. I work on SPARC/Solaris 8 with g++/gcc version 2.95.3
> 20010315 (release).

Well, then you're probably going to have to discuss this with Sun
engineers who wrote their C library.  putenv() is not implemented in
GCC, GCC just uses whatever the C library of the OS you're running
has to offer.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer

  parent reply	other threads:[~2003-01-07 11:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-07  9:46 Gregory Shpitalnik
2003-01-07  9:49 ` Gregory Shpitalnik
2003-01-07 11:51 ` Alexandre Oliva [this message]
2003-01-07 12:06   ` Alexandre Oliva

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=orznqdi42s.fsf@free.redhat.lsd.ic.unicamp.br \
    --to=aoliva@redhat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=gcc@gnu.org \
    --cc=gregory@il.marvell.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).