Trying to run golded on ARM linux. Downloaded the latest from GIT.
Fighting with few things:
1) is it possible to compile it like "static" (all .so stuff within
one file)?
2) the latest did not produce gnlx (nodelist) binary. It is some bug
or issue on my side?
Should be possible. It only uses ncurses and some C/C++ specific libraries. You may link it with static ncurses.
Why do you need static linkage though?
2) the latest did not produce gnlx (nodelist) binary. It is some
bug or issue on my side?
If you use cmake - it will produce binary _golded_, not _gedlnx_.
Should be possible. It only uses ncurses and some C/C++ specific
libraries. You may link it with static ncurses.
Why do you need static linkage though?
Because I am using Golded on some Embeded linux (= I need to translate
it somewhere else). It produced gedlnx (in bin/), I copied it there -
and now is asking for libncurses.so.6. Last time I had to collect
several libraries like libfontenc, libncurses, libtinfo, etc. = I
wanted to have just one executable.
Googling arround, something like:
gcc program.o -llib1 -Wl,-Bstatic -llib2 -Wl,-Bdynamic -llib3
2) the latest did not produce gnlx (nodelist) binary. It is some
bug or issue on my side?
If you use cmake - it will produce binary _golded_, not _gedlnx_.
I got gedlnx. Wondering where to get gnlx then.
gcc program.o -llib1 -Wl,-Bstatic -llib2 -Wl,-Bdynamic -llib3Yes, you need static version of ncurses and modify makefiles.
If you looking for nodelist compiler it's gnlnx, not gnlx. Shall be
next to gedlnx. Maybe build failed, look for errors in build output.
Sysop: | Tetrazocine |
---|---|
Location: | Melbourne, VIC, Australia |
Users: | 4 |
Nodes: | 8 (0 / 8) |
Uptime: | 58:25:06 |
Calls: | 65 |
Files: | 21,500 |
Messages: | 73,544 |