Thread View: mod.computers.apollo
1 messages
1 total messages
Started by apollo
Wed, 29 Jan 1986 17:00
Re: /bin/cc, /com/cc, uupath, pathalias...
Author: apollo
Date: Wed, 29 Jan 1986 17:00
Date: Wed, 29 Jan 1986 17:00
99 lines
3488 bytes
3488 bytes
I have tried to install the pathalias and uupath software on our net and
have come across a few problems. Before I go in and hack the c source,
has anybody out there tried this yet and found solutions to the problems?
The only problem is that you run out of sbrk space. Unix programs assume
that sbrk space is always contiguously allocated, which is mutually exclusive
with a rich mapped address space such as is provided by aegis.
Here are the mods I made to pathalias to get it to work:
% diff -c Makefile_o Makefile
*** Makefile_o Tue Aug 20 10:17:25 1985
--- Makefile Tue Aug 20 11:25:29 1985
***************
*** 10,16
LDFLAGS =
YFLAGS = -d
! OBJ = addlink.o addnode.o extern.o local.o main.o mapit.o mapaux.o mem.o parse.o yylex.o
HDRS = def.h config.h
SRC = addlink.c addnode.c extern.c local.c main.c mapit.c mapaux.c mem.c parse.y yylex.c
CSRC = addlink.c addnode.c extern.c local.c main.c mapit.c mapaux.c mem.c parse.c yylex.c
--- 10,16 -----
LDFLAGS =
YFLAGS = -d
! OBJ = addlink.o addnode.o extern.o local.o main.o mapit.o mapaux.o mem.o parse.o yylex.o sbrk.o
HDRS = def.h config.h
SRC = addlink.c addnode.c extern.c local.c main.c mapit.c mapaux.c mem.c parse.y yylex.c
CSRC = addlink.c addnode.c extern.c local.c main.c mapit.c mapaux.c mem.c parse.c yylex.c
% diff -c config.h_o config.h
*** config.h_o Tue Aug 20 10:17:30 1985
--- config.h Tue Aug 20 11:23:24 1985
***************
*** 7,13
#define UNAME /* */
/* memset() -- probably system v or 8th ed. */
! #define MEMSET /* */
/* gethostname() -- probably 4.2bsd */
/* #define GETHOSTNAME /* */
--- 7,13 -----
#define UNAME /* */
/* memset() -- probably system v or 8th ed. */
! /* #define MEMSET /* */
/* gethostname() -- probably 4.2bsd */
/* #define GETHOSTNAME /* */
***************
*** 13,19
/* #define GETHOSTNAME /* */
/* bzero() -- probably 4.2bsd */
! /* #define BZERO /* */
/* default place for dbm output of makedb; can use -o file at run-time */
#define ALIASDB "/usr/local/lib/palias"
--- 13,19 -----
/* #define GETHOSTNAME /* */
/* bzero() -- probably 4.2bsd */
! #define BZERO /* */
/* default place for dbm output of makedb; can use -o file at run-time */
#define ALIASDB "/usr/lib/uupaths"
***************
*** 34,40
*
* perkin-elmer 3220 wants ALIGN to be 2.
*/
! #define ALIGN 0
/****************************************/
/* END OF CONFIGURATION SECTION */
--- 34,40 -----
*
* perkin-elmer 3220 wants ALIGN to be 2.
*/
! #define ALIGN 1
/****************************************/
/* END OF CONFIGURATION SECTION */
% cat sbrk.c
#include "/sys/ins/base.ins.c"
#include "/sys/ins/rws.ins.c"
char *sbrk(n)
long n;
{
return rws_$alloc_rw(n);
}
-------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads