Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: iwkse on June 19, 2020, 04:57:36 PM
-
Hi,
this is a specific question, since the package is not available, would be great to build that.
The generic question is..do you have some documentation on how to compile and build piCore packages?
Regards
-
Hi iwkse
Welcome to the forum. Maybe the build script found here will be of some use:
http://tinycorelinux.net/8.x/armv6/tcz/src/openvpn/
-
Hi Rich,
thanks a lot, I will take a look.
But..I need to understand how to build it, I wonder if it's possible to cross-compile or it's required to do on the raspberry.
Regards
-
Hi iwkse
You should probably compile it on the raspberry. The toolchain is called compiletc.tcz:
tce-load -wil compiletc
-
I'm working on updating all of the "openxxx" stuff. I can provide the extension shortly.
That being said, it is easy to compile yourself if you wish.
-
Great thanks.
Yes I asked because I'd be glad to contribute new packages.
I installed a toolchain on my PC and it compiles fine when there's a configuration for cmake.
I didn't find yet the autotools port (openvpn uses that) but I should try something because I found something online.
Compiling on PC would be much faster, so if possible I would like to go that path.
Thanks again,
Regards
-
What do you mean by "autotools port" - autoconf, automake, gettext-dev, intltool and libtool-dev are all present in the repo?
-
I mean the proper configuration for autotools, settings all environment variables so that it compiles fine.
I have it for cmake, taken from here, https://github.com/Pro/raspi-toolchain and it works good.
-
See here for an example: http://tinycorelinux.net/11.x/armv7/tcz/src/cairo/compile_cairo
..and here for cmake: http://tinycorelinux.net/11.x/armv7/tcz/src/webkitgtk4/compile_webkitgtk4
..and here for meson: http://tinycorelinux.net/11.x/armv7/tcz/src/gdk-pixbuf/compile_gdk-pixbuf
-
thanks!