This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC_DRIVER_HOST_INITIALIZATION in gcc.c
- From: DJ Delorie <dj at redhat dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 9 Feb 2004 17:35:14 -0500
- Subject: Re: GCC_DRIVER_HOST_INITIALIZATION in gcc.c
- References: <004101c3df8d$43c2d290$94010c0a@gpnt><400DCFC3.5080508@specifixinc.com> <200401210125.i0L1PaYY030849@greed.delorie.com><1074650134.1016.20.camel@leaf.tuliptree.org> <200401210222.i0L2M7i9031582@greed.delorie.com><1074655468.1236.58.camel@leaf.tuliptree.org> <200401211903.i0LJ3OmQ025817@greed.delorie.com><1074714277.1029.27.camel@leaf.tuliptree.org> <200401212058.i0LKwM2V027673@greed.delorie.com> <1074719628.1117.30.camel@leaf.tuliptree.org>
> From: Jim Wilson <wilson@specifixinc.com>
>
> On Wed, 2004-01-21 at 12:58, DJ Delorie wrote:
> > How about a compromise? Revert the const in the 3.4 branch, but
> > require a redesign for 3.5?
>
> I am willing to approve that.
After discussing it in the djgpp workers list, we decided to just drop
that logic. There's a slight performance penalty, but it does seem to
function correctly.
Committed to head and 3.4
2004-02-09 DJ Delorie <dj@redhat.com>
* config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): No
longer modify standard_exec_prefix, standard_bindir_prefix, or
standard_startfile_prefix.
Index: config/i386/xm-djgpp.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/xm-djgpp.h,v
retrieving revision 1.18
diff -p -2 -r1.18 xm-djgpp.h
*** config/i386/xm-djgpp.h 26 Sep 2003 04:07:46 -0000 1.18
--- config/i386/xm-djgpp.h 9 Feb 2004 22:31:29 -0000
*************** Boston, MA 02111-1307, USA. */
*** 44,50 ****
} while (0)
- /* Change /dev/env/DJDIR/prefix/dir/ to canonical form so gcc_exec_prefix
- is set properly in 'gcc.c'. It also helps to cut down the number of times
- the value of the DJGPP environment variable 'DJDIR' is evaluated. */
#undef GCC_DRIVER_HOST_INITIALIZATION
#define GCC_DRIVER_HOST_INITIALIZATION \
--- 44,47 ----
*************** Boston, MA 02111-1307, USA. */
*** 70,76 ****
djgpp); \
} \
- standard_exec_prefix = update_path (standard_exec_prefix, NULL); \
- standard_bindir_prefix = update_path (standard_bindir_prefix, NULL); \
- standard_startfile_prefix = update_path (standard_startfile_prefix, NULL); \
} while (0)
--- 67,70 ----