Tiny Core Linux

General TC => General TC Talk => Topic started by: patrikg on January 27, 2017, 04:55:44 PM

Title: Build files
Post by: patrikg on January 27, 2017, 04:55:44 PM
Could it be neat to take all build files and make a directory for that on the web. Or something else.
For easy take a look how some extensions are made.

I don't know if there lots of them, but i have found some of them maybe we can make some generally
script of them... like ports in freebsd.. have talked about this before in this forum.
Just edit the version, or maybe it could download the current stable version.
 
Why should i invent the "wheel"... the hole time... even if the "wheel" have now more use and more features.

Here is example of build file that i have found.
http://www.tinycorelinux.net/5.x/armv6/tcz/src/nginx/nginx.build

Title: Re: Build files
Post by: andyj on January 27, 2017, 05:32:53 PM
As you pointed out there's a build file in the source directory already. So what are you asking for?
Title: Re: Build files
Post by: bmarkus on January 28, 2017, 04:36:00 AM
Like this?

http://tinycorelinux.net/7.x/x86/tcz/src/
Title: Re: Build files
Post by: patrikg on January 28, 2017, 05:45:08 AM
Yes thank you Bela.
This is what i am looking for.

Maybe we in the community can make some standard of this files.
That can be applied to all of the platforms, and maybe also support cross-compile.

So it could be easy to build from scratch.

So you/community could make some build robot/scripts to make the hole process.
Little like buildroot with openwrt.


Title: Re: Build files
Post by: Juanito on January 28, 2017, 06:07:17 AM
the problem would be that, depending on the source, there would be several different ways to compile:

./configure + make, cmake + make, perl, python, scons, etc
Title: Re: Build files
Post by: andyj on January 28, 2017, 10:30:15 AM
I've written and maintain around 50 build scripts for extensions here. There is some overlap, but there's even more inconsistancy. I tried, for a few hours, and quickly saw the futility in it. You would have a better chance of success herding cats.
Title: Re: Build files
Post by: patrikg on January 28, 2017, 11:43:34 AM
Sorry for taking this into speak again.
The old thread. http://forum.tinycorelinux.net/index.php/topic,19895.msg123514.html#msg123514
But it seams that more users use TCL.

Haven't seen so many users before in this forum, uses picore.
I think some of the users from the raspberry pi community going from like say raspbian to picore.
I am one of them, tries out now, if i can make some nice webcam with steering with gpio and stepper motor.
There are so few ram based Linux system out there for embedded systems.

I know there are Alpine https://www.alpinelinux.org/
Have'n't tried that out, my self.
Title: Re: Build files
Post by: andyj on January 28, 2017, 11:54:34 AM
Many eyes make problems shallow. Like I said before, if you want to take it on I'll help where I can, but I'm not up for leading this charge.