This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: DJGPP changes r2
- To: "Mark E." <snowball3 at bigfoot dot com>
- Subject: Re: DJGPP changes r2
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 04 Aug 2000 10:20:20 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <3973AE6F.2999.FA5DC@localhost>you write:
> Hi guys,
> This patch makes several changes DJGPP port:
>
> * This revision from yesterday's version adds definitions for SIZE_TYPE, PT
> RDIFF_TYPE, and WINT_TYPE.
>
> * Canonicalize prefixes beginning with '/dev/env/' (the default prefix for
> DJGPP with Bash 2.03 or later) so the relative path routine in gcc.c correc
> tly compares directories
> so the various directories are set correctly.
>
> * Use Binutils 2.10 features by default. If gcc 3.0 takes long enough, per
> haps the - mno-bnu210 switch can be dropped entirely.
>
> * Set the default include directory to '/dev/env/DJDIR/include' and delete
> code that forces in $DJDIR.
>
> * Move code that shortens the target alias and rids 'gcc_version' of extra
> dots (native DOS can't handle multiple dots in a filename) to the top-level
> .
>
> gcc/Changelog:
>
> 2000-07-17 Mark Elbrecht <snowball3@bigfoot.com>
>
> * x-djgpp: Delete code that conditionally modifies target_alias.
> Delete code that conditionally modifies 'version'.
> Delete X_CPPFLAGS. Add comment for SYSTEM_HEADER_DIR.
> * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): New macro.
> * gcc.c (main): Use it.
> * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): New macro.
> * prefix.c (update_path): Use it.
> * config/i386/djgpp.h (STANDARD_INCLUDE_DIR): Define.
> (MD_EXEC_PREFIX): Set to '/dev/env/DJDIR/bin/'.
> (ASM_OUTPUT_SECTION_NAME): Add code attribute to sections containing
> code.
> (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Default to true.
> (SUBTARGET_SWITCHES): Adjust.
> (WCHAR_UNSIGNED, WCHAR_TYPE_SIZE, WCHAR_TYPE): Undefine before
> defining.
> (WINT_TYPE, SIZE_TYPE, PTRDIFF_TYPE): Define.
>
> config/Changelog:
>
> 2000-07-17 Mark Elbrecht <snowball3@bigfoot.com>
>
> * mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
> modify 'gcc_version'.
Thanks. I've installed this patch.
Can you please send documentation updates for the new configuration
macros you added:
GCC_DRIvER_HOST_INITIALIZATION
UPDATE_PATH_HOST_CANONICALIZE
Thanks,
jeff