Mail Archives: djgpp/1998/03/18/17:07:12
Andris Pavenis wrote :
>
> hack Makefile after ./djconfig.sh: Here are defines I changed:
>
> SHELL=/djgpp/bin/bash.exe
> Otherwise make didn't work correctly.
This is needed only, if you don't have a /bin/sh.exe on the
drive, where you build gcc. So created that and you don't need
to modify the Makefile.
>
> target_alias = djgpp
> I didn't want to have such directory name as i386-msdosdjgpp.
> Is it possible to add this to configure script
>
> version = 2.81
> Also to avoid having directory name 2.8.1 and use 2.81
> (%DJDIR/lib/lib-gcc/djgpp/2.81)
This is, because not all my patches which I did for the DJGPP
port of gcc 2.8.0 are already included in gcc 2.8.1. So apply the
following patch to the main configure script:
*** configure.in~ Wed Mar 18 22:13:04 1998
--- configure.in Wed Mar 18 22:13:12 1998
***************
*** 862,867 ****
--- 862,868 ----
xm_file=i386/xm-go32.h
tm_file=i386/go32.h
tmake_file=i386/t-go32
+ xmake_file=i386/x-go32
gnu_ld=yes
gas=yes
;;
and then create the new file config/i386/x-go32
---CUT HERE---
# translate the version string, so it can be used on DJGPP, where only
# one dot in filename is allowed
# to avoid recursion when redefining $(version)
_version:=$(version)
__version=$(word 1,$(subst ., ,$(_version))).
version=$(__version)$(subst .,,$(subst $(__version),,$(_version)))
SYSTEM_HEADER_DIR=$(DJDIR)/include
X_CPPFLAGS=-DSTANDARD_INCLUDE_DIR=\"\$$DJDIR/include\" \
-DSTANDARD_INCLUDE_COMPONENT=\"\"
FIXINCLUDES=fixinc.djgpp
# when building a native compiler for DJGPP, make the target_alias
# a shorter name, since otherwise it will produce some problems, when
# using the same gcc once with long filenames and once with short (8+3)
# filenames
ifeq ($(findstring -pc-msdosdjgpp,$(target_alias)),-pc-msdosdjgpp)
target_alias=djgpp
endif
--------CUT HERE---------
now run autoconf and djconfig.sh
Robert
--
******************************************************
* email: Robert Hoehne <robert DOT hoehne AT gmx DOT net> *
* Post: Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW: http://www.tu-chemnitz.de/~sho/rho *
******************************************************
- Raw text -