Tue Jun 18 15:03:44 1996 Klaus Kaempf <kkaempf@progis.de>

* config.h-vms, makefile.vms: New files.
This commit is contained in:
Ian Lance Taylor 1996-06-18 19:10:39 +00:00
parent c3d8e071bf
commit e10a4fc492
4 changed files with 108 additions and 0 deletions

View File

@ -43,6 +43,7 @@ budbg.h
coffdump.c
coffgrok.c
coffgrok.h
config.h-vms
config.in
configure
configure.bat
@ -59,6 +60,7 @@ ieee.c
is-ranlib.c
is-strip.c
mac-binutils.r
makefile.vms
maybe-ranlib.c
maybe-strip.c
mpw-config.in

View File

@ -1,3 +1,7 @@
Tue Jun 18 15:03:44 1996 Klaus Kaempf <kkaempf@progis.de>
* config.h-vms, makefile.vms: New files.
Mon Jun 17 09:47:31 1996 Ian Lance Taylor <ian@cygnus.com>
* dlltool.c (make_one_lib_file): Use BFD_RELOC_RVA rather than

46
binutils/config.h-vms Normal file
View File

@ -0,0 +1,46 @@
/* config.h. Generated automatically by configure. */
/* config.in. Generated automatically from configure.in by autoheader. */
/* Is the type time_t defined in <time.h>? */
#define HAVE_TIME_T_IN_TIME_H 1
/* Is the type time_t defined in <sys/types.h>? */
#define HAVE_TIME_T_IN_TYPES_H 1
/* Does <utime.h> define struct utimbuf? */
#define HAVE_GOOD_UTIME_H 1
/* Whether fprintf must be declared even if <stdio.h> is included. */
#define NEED_DECLARATION_FPRINTF 1
/* 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 if you have the utimes function. */
#define HAVE_UTIMES 1
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define if you have the <sys/file.h> header file. */
#define HAVE_SYS_FILE_H 1
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
#if __GNUC__
#define _bfd_generic_get_section_contents_in_window _bfd_generic_get_win_section_cont
#define _elf_section_from_bfd_section _bfd_elf_sec_from_bfd_sec
#endif

56
binutils/makefile.vms Normal file
View File

@ -0,0 +1,56 @@
#
# Makefile for binutils under openVMS/AXP
#
# For use with gnu-make for vms
#
# Created by Klaus Kämpf, kkaempf@progis.de
#
#
CC=gcc
ifeq ($(CC),gcc)
CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
DEFS=/define=("unlink=remove")
GCCLIBS=,GNU_CC:[000000]LIBGCC2/lib,GNU_CC:[000000]LIBGCCLIB/lib,sys$$disk:[-]vprintf.obj,sys$$library:vaxcrtl.olb/lib,GNU_CC:[000000]crt0.obj
else
CFLAGS=/noopt/debug/include=([],[-.include],[-.bfd])$(DEFS)
DEFS=/define=(\
"_bfd_generic_get_section_contents_in_window"="_bfd_generic_get_win_section_cont",\
"_bfd_elf_section_from_bfd_section"="_bfd_elf_sec_from_bfd_sec")
GCCLIBS=
endif
LIBBFD = [-.bfd]libbfd.olb
LIBIBERTY = [-.libiberty]libiberty.olb
LIBOPCODES = [-.opcodes]libopcodes.olb
LIBS = $(LIBBFD) $(LIBOPCODES) $(LIBIBERTY)
DEBUG_OBJS = rddbg.obj,debug.obj,stabs.obj,ieee.obj,prdbg.obj
SIZEOBJS = bucomm.obj,version.obj,filemode.obj,size.obj
OBJDUMPOBJS = bucomm.obj,version.obj,filemode.obj,objdump.obj
NMOBJS = bucomm.obj,version.obj,filemode.obj,nm.obj
all: config.h size.exe objdump.exe nm.exe
size.exe: $(SIZEOBJS) $(LIBS)
link/exe=$@ $(SIZEOBJS),$(LIBBFD)/lib,$(LIBOPCODES)/lib,$(LIBIBERTY)/lib$(GCCLIBS)
objdump.exe: $(DEBUG_OBJS) $(OBJDUMPOBJS) $(LIBS)
link/exe=$@ $(OBJDUMPOBJS),$(DEBUG_OBJS),$(LIBBFD)/lib,$(LIBOPCODES)/lib,$(LIBIBERTY)/lib$(GCCLIBS)
nm.exe: $(NMOBJS) $(LIBS)
link/exe=$@ $(NMOBJS),$(LIBBFD)/lib,$(LIBOPCODES)/lib,$(LIBIBERTY)/lib$(GCCLIBS)
version.obj: version.c
$(CC) $(CFLAGS)/define=(VERSION="""960408""") $<
objdump.obj: objdump.c
$(CC) $(CFLAGS) $<
config.h: config.h-vms
$(CP) $< $@