|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| .cache/ | H | 16-Oct-2020 | - | | |
| .config/ | H | 16-Oct-2020 | - | | |
| bazaar/ | H | 16-Oct-2020 | - | 3,410,963 | 2,406,941 |
| examples/ | H | 16-Oct-2020 | - | 23,762 | 20,653 |
| reference/ | H | 16-Oct-2020 | - | 29,096 | 24,586 |
| tutorial/ | H | 16-Oct-2020 | - | 7,706 | 5,167 |
| uppsrc/ | H | 16-Oct-2020 | - | 1,621,020 | 1,187,041 |
| Makefile | H A D | 03-May-2022 | 2.1 MiB | 75,972 | 75,231 |
| README | H A D | 16-Oct-2020 | 2.3 KiB | 65 | 43 |
| clean | H A D | 16-Oct-2020 | 97 | 8 | 4 |
| configure | H A D | 16-Oct-2020 | 84 | 5 | 2 |
| configure_makefile | H A D | 16-Oct-2020 | 3.1 KiB | 63 | 55 |
| install | H A D | 16-Oct-2020 | 3.2 KiB | 104 | 92 |
| umkMakefile | H A D | 03-May-2022 | 357.9 KiB | 12,618 | 12,428 |
README
1U++ POSIX Installation
2
3U++ for POSIX (Linux, OpenBSD, FreeBSD, OpenSolaris) comes as single sandboxed
4archive. After downloading, you need to unpack this archive to suitable location with
5
6tar xf upp-posix-14411.tar.xz
7
8(replace 14411 with the revision you have downloaded). Of course, you can use
9your desktop environment GUI desktop utility as well.
10
11This will produce "upp" folder full of files.
12
13cd upp
14
15to get into it. Now you have two options:
16
17- Use ./install script that should resolve all dependencies and build theide
18 as fast as possible (usually the process takes a couple of minutes). Note that
19 this does not work for OpenBSD (see bellow).
20
21- Resolve dependecies yourself and use make to build theide. Even if you do this,
22 peeking into ./install is a good idea to get a clue about dependecies
23 required. You should also build umk command line too with
24 make -f uMakefile, also this is not strictly necessarry for the first
25 taste of U++. On non-Linux systems, you should run ./configure first.
26
27At the end of this process, you should have two binaries in the folder, theide
28and umk. Start theide to have some fun with U++.
29
30As long as you keep theide (or umk) just in the original directory, nothing
31will be written outside of it - its "sandboxed" (with one exception described
32bellow). If you get bored with U++ and need to clean the space, simply delete
33the "upp" folder.
34
35If you move theide e.g. to ~/bin, it will start to write things to ~/.config
36and ~/.cache.
37
38The exception to the sanboxing rule is single command invoked from TheIDE menu,
39Setup / Install theide.desktop. This will write proper .desktop file to
40~/.local/share/applications - the effect of this on most desktop environments
41is that TheIDE will appear in the desktop menu somewhere, usually in the Start
42menu under Programming category. Sometimes desktop environment needs restart
43for this to take effect.
44
45
46OpenBSD specific notes
47======================
48
49In OpenBSD you need to resolve dependencies manually before running the ./install script by
50running
51
52pkg_add bash pkgconfig
53
54(this should work as long as you have installed desktop environment before installing U++).
55
56It is also necessary to increase the allowed memory sizes in /etc/login.conf to
57
58default:\
59 :datasize-max=4096M:\
60 :datasize-cur=4096M:\
61 :stacksize-cur=512M:\
62
63otherwise compiler will run out of memory.
64
65