Mail Archives: djgpp-workers/1998/08/02/09:37:07
On Sun, 26 Jul 1998, DJ Delorie wrote:
> v2/alphas/980726 is on its way out.
>
> Opinions on making this a beta?
I think it's good enough for a beta.
A few problems I dicovered:
The declarations of sys_siglist[] and psignal disappeared from
signal.h. Here they are again:
extern char *sys_siglist[];
void psignal(int _sig, const char *_msg);
The file src/libc/posix/regex/re_forma.7 should be removed. (There's
the LFN-clean re_format.7 there now.)
src/makefile.inc relies on djgpp.djl to be in a certain place. I used
the same trick as with libgcc.a:
*** src/makefile.i~0 Sun Jul 26 17:28:46 1998
--- src/makefile.inc Fri Jul 31 17:40:24 1998
***************
*** 61,67 ****
export LIBGCCA
endif
! LINK = $(CROSS_LD) -s $(LDFLAGS) $(filter %.o,$^) $(filter-out %.o,$^) -o $@ $(LIBGCCA) -T ${TOP}/../../lib/djgpp.djl
EXE = $(HOSTBIN)/stubify.exe $@
OBJS := $(addsuffix .o, $(basename $(SRC)))
--- 61,73 ----
export LIBGCCA
endif
! ifeq ($(DJGPP_DJL),)
! DJGPP_DJL := $(shell $(CROSS_GCC) -print-file-name=djgpp.djl)
! DJGPP_DJL := $(subst \,/,$(DJGPP_DJL))
! export DJGPP_DJL
! endif
!
! LINK = $(CROSS_LD) -s $(LDFLAGS) $(filter %.o,$^) $(filter-out %.o,$^) -o $@ $(LIBGCCA) -T $(DJGPP_DJL)
EXE = $(HOSTBIN)/stubify.exe $@
OBJS := $(addsuffix .o, $(basename $(SRC)))
These two changes avoid warnings when compiling FSDB:
*** src/debug/fsdb/unassmbl.c~0 Mon Sep 8 20:41:02 1997
--- src/debug/fsdb/unassmbl.c Fri Jul 31 17:53:14 1998
***************
*** 19,24 ****
--- 19,25 ----
#include <stdio.h>
#include <string.h>
+ #include <sys/stat.h>
#include "ed.h"
#include "unassmbl.h"
*** src/debug/fsdb/expr.y~0 Thu Mar 30 03:14:00 1995
--- src/debug/fsdb/expr.y Fri Jul 31 17:51:56 1998
***************
*** 17,22 ****
--- 17,24 ----
int undefined_symbol = 0;
#define valid_addr(x,y) 0
#define read_child (void)
+ #else /* !TEST */
+ extern int valid_addr (word32, int);
#endif
int evaluate (char *, long *, char **);
static int yylex ();
- Raw text -