fixed problem with short prefix path in version module

Former-commit-id: bdb2b32588
This commit is contained in:
Norayr Chilingarian 2014-03-21 04:22:23 +08:00
parent 66c583b70e
commit 12fa4aec39
8 changed files with 9 additions and 8 deletions

View file

@ -1 +1 @@
/opt/voc-1.0/lib
/Users/noch/local/voc-1.0/lib

View file

@ -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

Binary file not shown.

View file

@ -1 +1 @@
03332b4fdd5e4e54908279b12a66a2e0bbd7f202
e8af78b5707b8f0816fecddad5ea39c74d2d8244

View file

@ -1,5 +1,5 @@
MODULE prf;
CONST prefix* = "/opt";
CONST prefix* = "/Users/noch/local";
END prf.

View file

@ -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;

View file

@ -1 +1 @@
333eeef2144c1ef803126d3273b69ca32cfca91d
5bcb7b99908985fea35cb5cd71f1b487bed8d413

View file

@ -1 +1 @@
6d30dd50282b432054067ff551d4e0d9e8b34973
f0c20160b26a1b903d5bbefaa79bbf009cf9c7ce