mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-05 23:22:25 +00:00
fixed problem with short prefix path in version module
This commit is contained in:
parent
e1f76da278
commit
bdb2b32588
8 changed files with 6 additions and 5 deletions
|
|
@ -1 +1 @@
|
|||
/opt/voc-1.0/lib
|
||||
/Users/noch/local/voc-1.0/lib
|
||||
|
|
|
|||
|
|
@ -20,7 +20,8 @@ LIBNAME = VishapOberon
|
|||
LIBRARY = lib$(LIBNAME)
|
||||
|
||||
ifndef PRF
|
||||
PRF = "/opt"
|
||||
#PRF = "/opt"
|
||||
PRF = "/Users/noch/local"
|
||||
endif
|
||||
PREFIX = $(PRF)/voc-$(RELEASE)
|
||||
PREFIXLN = $(PRF)/voc
|
||||
|
|
@ -295,7 +296,7 @@ install:
|
|||
cp *.sym $(PREFIX)/lib/voc/sym/
|
||||
|
||||
#cp 05vishap.conf /etc/ld.so.conf.d/
|
||||
ldconfig
|
||||
#ldconfig
|
||||
ln -s $(PREFIX) $(PREFIXLN)
|
||||
|
||||
# cp *.o $(PREFIX)/lib/voc/$(RELEASE)/obj/
|
||||
|
|
|
|||
BIN
ocat
BIN
ocat
Binary file not shown.
BIN
showdef
BIN
showdef
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
MODULE prf;
|
||||
|
||||
CONST prefix* = "/opt";
|
||||
CONST prefix* = "/Users/noch/local";
|
||||
|
||||
END prf.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ CONST
|
|||
(* targets *)
|
||||
gnux86* = 0; gnux8664* = 1; gnuarmv6j* = 2; gnuarmv6jhardfp* = 3; gnuarmv7ahardfp* = 4; gnupowerpc* = 5;
|
||||
|
||||
VAR arch-, version-, date-, versionLong-, prefix0-, prefix- : ARRAY 23 OF CHAR;
|
||||
VAR arch-, version-, date-, versionLong-, prefix0-, prefix- : ARRAY 256 OF CHAR;
|
||||
defaultTarget* : INTEGER;
|
||||
BEGIN
|
||||
arch := architecture.arch;
|
||||
|
|
|
|||
BIN
voc
BIN
voc
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue