Mips sysv4 support.

REL6_4
Bruce Momjian 29 years ago
parent 10da89c1fb
commit 31fba1d974
  1. 6
      src/include/port/svr4.h
  2. 4
      src/makefiles/Makefile.svr4

@ -2,3 +2,9 @@
# define USE_POSIX_SIGNALS # define USE_POSIX_SIGNALS
# define NO_EMPTY_STMTS # define NO_EMPTY_STMTS
# define SYSV_DIRENT # define SYSV_DIRENT
#ifndef BYTE_ORDER
#ifdef MIPSEB
#define BYTE_ORDER BIG_ENDIAN
#endif
#endif

@ -1,8 +1,8 @@
# MAKE_EXPORTS is required for svr4 loaders that want a file of # MAKE_EXPORTS is required for svr4 loaders that want a file of
# symbol names to tell them what to export/import. # symbol names to tell them what to export/import.
MAKE_EXPORTS= true #MAKE_EXPORTS= true
LDFLAGS+= /usr/ucblib/libucb.a -LD-Blargedynsym LDFLAGS+= -lc /usr/ucblib/libucb.a -LD-Blargedynsym
%.so: %.o %.so: %.o
$(LD) -G -Bdynamic -o $@ $< $(LD) -G -Bdynamic -o $@ $<

Loading…
Cancel
Save