mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 15:42:25 +00:00
prefixed installation now works.
fixed bug with -m, it couldn't work because libVishapOberon contained bindings to X11 but was not linked to X11
This commit is contained in:
parent
2610f274eb
commit
f3548d289f
15 changed files with 140 additions and 119 deletions
5
src/voc/prf.Mod
Normal file
5
src/voc/prf.Mod
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
MODULE prf;
|
||||
|
||||
CONST prefix* = "/opt";
|
||||
|
||||
END prf.
|
||||
5
src/voc/prf.Mod_default
Normal file
5
src/voc/prf.Mod_default
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
MODULE prf;
|
||||
|
||||
CONST prefix* = "/opt";
|
||||
|
||||
END prf.
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
MODULE version;
|
||||
IMPORT Strings := oocOakStrings, architecture;
|
||||
IMPORT Strings := oocOakStrings, architecture, prf;
|
||||
CONST
|
||||
(* targets *)
|
||||
gnux86* = 0; gnux8664* = 1; gnuarmv6j* = 2; gnuarmv6jhardfp* = 3; gnuarmv7ahardfp* = 4; gnupowerpc* = 5;
|
||||
|
|
@ -15,7 +15,8 @@ COPY(version, versionLong);
|
|||
Strings.Append (" ", versionLong);
|
||||
Strings.Append(date, versionLong);
|
||||
prefix := "";
|
||||
prefix0 := "/opt";
|
||||
(*prefix0 := "/opt";*)
|
||||
COPY(prf.prefix, prefix0);
|
||||
COPY (prefix0, prefix);
|
||||
Strings.Append ("/voc-", prefix);
|
||||
Strings.Append(version, prefix); (* /opt/voc-1.0 *)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue