aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-02-14 02:36:21 +0000
committerIan Lance Taylor <ian@airs.com>1997-02-14 02:36:21 +0000
commitc05a9b3368deb7c561d351761e0239775929ca40 (patch)
treecfed462e763732e622cdbd12c01c92131ba38959 /binutils
parente36491f4a5bba670678077af884b6fe7669456bc (diff)
downloadgdb-c05a9b3368deb7c561d351761e0239775929ca40.zip
gdb-c05a9b3368deb7c561d351761e0239775929ca40.tar.gz
gdb-c05a9b3368deb7c561d351761e0239775929ca40.tar.bz2
Thu Feb 13 21:34:43 1997 Klaus Kaempf (kkaempf@progis.de)
* config.h-vms: sbrk() is provided on openVMS/Alpha. * makefile.vms: allow compiling with current gcc snapshot.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/config.h-vms5
-rw-r--r--binutils/makefile.vms14
2 files changed, 10 insertions, 9 deletions
diff --git a/binutils/config.h-vms b/binutils/config.h-vms
index 5c42f6b..bfe56d8 100644
--- a/binutils/config.h-vms
+++ b/binutils/config.h-vms
@@ -13,11 +13,14 @@
/* Whether fprintf must be declared even if <stdio.h> is included. */
#define NEED_DECLARATION_FPRINTF 1
+/* Whether sbrk must be declared even if <unistd.h> is included. */
+#undef NEED_DECLARATION_SBRK
+
/* Do we need to use the b modifier when opening binary files? */
/* #undef USE_BINARY_FOPEN */
/* Define if you have the sbrk function. */
-/* #undef HAVE_SBRK */
+#define HAVE_SBRK 1
/* Define if you have the utimes function. */
#define HAVE_UTIMES 1
diff --git a/binutils/makefile.vms b/binutils/makefile.vms
index 557e3af..cf869a6 100644
--- a/binutils/makefile.vms
+++ b/binutils/makefile.vms
@@ -1,18 +1,16 @@
#
-# Makefile for binutils under openVMS/AXP
+# Makefile for binutils under openVMS/Alpha
#
# For use with gnu-make for vms
#
-# Created by Klaus Kämpf, kkaempf@progis.de
+# Created by Klaus K"ampf, kkaempf@progis.de
#
#
-CC=gcc
-
ifeq ($(CC),gcc)
-CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
-DEFS=/define=("unlink=remove")
-LIBS=,GNU_CC:[000000]LIBGCC2/lib,GNU_CC:[000000]LIBGCCLIB/lib,sys$$library:vaxcrtl.olb/lib,GNU_CC:[000000]crt0.obj
+CFLAGS=/cc1="-fno-exceptions -g0"/include=([],[-.include],[-.bfd])$(DEFS)
+DEFS=
+LIBS=,GNU:[000000]LIBGCC2/lib,GNU:[000000]LIBGCCLIB/lib,sys$$library:vaxcrtl.olb/lib,GNU:[000000]crt0.obj
else
CFLAGS=/noopt/debug/include=([],[-.include],[-.bfd])$(DEFS)/warnings=disable=(missingreturn,implicitfunc)
DEFS=/define=("const=","unlink=remove",\
@@ -61,7 +59,7 @@ objdump.exe: $(OBJDUMPOBJS)
version.obj: version.c
- $(CC) $(CFLAGS)/define=(VERSION="""960814""") $<
+ $(CC) $(CFLAGS)/define=(VERSION="""970202""") $<
config.h: config.h-vms
$(CP) $< $@