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:20:35 -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 #5 from charles dot w dot lambert at gmail dot com 2008-02-27 18:20 -------
I also forgot to add that changing to
...
#elif (defined (__vxworks) && defined (__RTP__)) \
|| defined (__APPLE__)
setenv (name, value, 1);
#else
...
would involve changing
...
putenv (expression);
#if (defined (__FreeBSD__) && (__FreeBSD__ < 7)) \
|| defined (__APPLE__) || defined (__MINGW32__) \
||(defined (__vxworks) && ! defined (__RTP__))
/* On some systems like FreeBSD 6.x and earlier, MacOS X and Windows,
putenv is making a copy of the expression string so we can free
it after the call to putenv */
free (expression);
#endif
...
to
...
putenv (expression);
#if (defined (__FreeBSD__) && (__FreeBSD__ < 7)) \
defined (__MINGW32__) \
||(defined (__vxworks) && ! defined (__RTP__))
/* On some systems like FreeBSD 6.x and earlier, and Windows,
putenv is making a copy of the expression string so we can free
it after the call to putenv */
free (expression);
#endif
...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33857