Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: beerstein on September 15, 2016, 07:43:36 AM
-
Hi: I saw there is a x11vnc in the TinyCore repo. I would like to see a vnc server also in piCore-8.0. How much work
is it to convert (recompile) it. I never have done such a job.
Is there a way to bring the piCore desktop via ssh (X) to another PC?
-
see http://tinycorelinux.net/7.x/x86/tcz/src/x11vnc/compile_x11vnc
..you'd need to change the compiler flags
-
thank you for this. Does this mean that I should download (wget) the source from the piCore 7.X repo and store it locally in /tmp on my piCore 8.0 system?
After installing completec.tcz I should be able to compile and install. Is this correct?
-
hi juanito: What flag should i use for piCore8.0 ?
and where does it go in here:
CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var
thank you for help.
-
Hi beerstein
Well you certainly should not be using -march=i486 -mtune=i686.
The Wiki gives the recommended flags for RPI:
http://wiki.tinycorelinux.net/wiki:creating_extensions#installing
as well as a link to a thread:
http://forum.tinycorelinux.net/index.php/topic,17059.0.html
-
hi rich: thank you for this: Will it work when I do the following:
1. need to install the compiletc.tcz metapackage on my piCore 8.0 on Raspberry3
2. download the source code: x11vnc-0.9.14-dev.tar.gz
compile_x11vnc from the repo: http://tinycorelinux.net/7.x/x86/tcz/src/x11vnc/
into a /tmp/subfolder
3. then I will try to compile the source code into an executable file.
How do I find out about the dependencies needed and where do I place them?
4. After that I will try to make an extension from that file. (Core Book and Wiki)
Question: Would that work for me?
-
Hi beerstein
compile_x11vnc:
tce-load -i Xorg-7.7-dev libjpeg-turbo-dev
cd x11vnc-0.9.14
CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var
find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \;
make
sudo make install
The dependencies are on the tce-load line. The references to -march=i486 -mtune=i686 need to be removed. Beyond
that, I don't know if anything else needs to be changed. Try it and see what happens.
-
thank you for the info. At the piCore8.0 repo I only could find an
xorg-proto-dev.tcz -- may I use this one instead of the Xorg-7.7-dev?
-
Hi beerstein
Just a guess on my part, but I think you need xorg-server-dev.tcz and possibly xorg-proto-dev.tcz.
-
No, it is not enough.