This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/33857] Cannot bootstrap Ada with host gnatmake-4.2
- From: "charles dot w dot lambert at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Feb 2008 18:16:10 -0000
- Subject: [Bug ada/33857] Cannot bootstrap Ada with host gnatmake-4.2
- References: <bug-33857-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from charles dot w dot lambert at gmail dot com 2008-02-27 18:16 -------
I agree, what flags can be used to determine when to use it?
I used
...
#elif (defined (__vxworks) && defined (__RTP__)) \
|| (defined (__i386__) && (__APPLE__))
setenv (name, value, 1);
#else
...
but i know that is most likely not the correct fix. If someone could verify
that setenv copies the input buffer on all versions of OS X then it could
simply be changed to
...
#elif (defined (__vxworks) && defined (__RTP__)) \
|| defined (__APPLE__)
setenv (name, value, 1);
#else
...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33857