config.sub: Recognize i[34567]86-pc-udk as new target.

* config.sub: Recognize i[34567]86-pc-udk as new target.
	* configure.in: Likewise.
	* config/i386/t-udk: New file.
	* config/i386/udk.h: New file.

From-SVN: r22702
This commit is contained in:
Robert Lipe 1998-09-30 20:35:10 +00:00 committed by Robert Lipe
parent 73a6d2e797
commit 5aaf0123d8
5 changed files with 59 additions and 1 deletions

View File

@ -1,3 +1,10 @@
Wed Sep 30 22:27:53 1998 Robert Lipe <robertl@dgii.com>
* config.sub: Recognize i[34567]86-pc-udk as new target.
* configure.in: Likewise.
* config/i386/t-udk: New file.
* config/i386/udk.h: New file.
Wed Sep 30 19:33:07 1998 Jeffrey A Law (law@cygnus.com)
* reorg.c (check_annul_list_true_false): Remove unused variables.

5
gcc/config.sub vendored
View File

@ -117,6 +117,9 @@ case $os in
# Don't forget version if it is 3.2v4 or newer.
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
-udk*)
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
-sco*)
os=-sco3.2v2
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
@ -732,7 +735,7 @@ case $os in
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
| -cygwin32* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
| -win32* | -mingw32* | -linux-gnu* | -uxpv* | -beos* )
| -win32* | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -udk* )
# Remember, each alternative MUST END IN *, to match a version number.
;;
-linux*)

2
gcc/config/i386/t-udk Normal file
View File

@ -0,0 +1,2 @@
# Tell fixincludes to work on this set of headers
SYSTEM_HEADER_DIR = /udk/usr/include

35
gcc/config/i386/udk.h Normal file
View File

@ -0,0 +1,35 @@
/* Configuration for i386 interfacing with SCO's Universal Development Kit
probably running on OpenServer 5, Unixware 2, or Unixware 5
*/
/* We're very much the SVR4 target with "/udk" prepended to everything that's
interesting */
#include "i386/sysv4.h"
#undef MD_EXEC_PREFIX
#define MD_EXEC_PREFIX "/udk/usr/ccs/bin/"
#undef MD_STARTFILE_PREFIX
#define MD_STARTFILE_PREFIX "/udk/usr/ccs/lib/"
#if 0 /* Later. */
#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
#endif
#define STANDARD_INCLUDE_DIR "/udk/usr/include"
#undef LINK_SPEC
#define LINK_SPEC "%{h*} %{v:-V} \
%{b} %{Wl,*:%*} \
%{static:-dn -Bstatic} \
%{shared:-G -dy -z text} \
%{symbolic:-Bsymbolic -G -dy -z text} \
%{G:-G} \
%{YP,*} \
%{!YP,*:%{p:-Y P,/udk/usr/ccs/lib/libp:/udk/usr/lib/libp:/udk/usr/ccs/lib:/udk/usr/lib} \
%{!p:-Y P,/udk/usr/ccs/lib:/usr/lib}} \
%{Qy:} %{!Qn:-Qy}"

View File

@ -1350,6 +1350,17 @@ changequote([,])dnl
xmake_file=x-svr4
extra_parts="crtbegin.o crtend.o"
;;
changequote(,)dnl
i[34567]86-*-udk*) # Intel x86 on SCO UW/OSR5 Dev Kit
changequote([,])dnl
xm_file="xm-alloca.h xm-siglist.h ${xm_file}"
xm_defines="USG POSIX"
tm_file=i386/udk.h
tmake_file="i386/t-crtpic i386/t-udk"
xmake_file=x-svr4
extra_parts="crtbegin.o crtend.o"
fixincludes="fixinc.svr4"
;;
changequote(,)dnl
i[34567]86-*-osf1*) # Intel 80386's running OSF/1 1.3+
changequote([,])dnl