WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Build files  (Read 2012 times)

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 661
Build files
« on: January 27, 2017, 01: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


Offline andyj

  • Hero Member
  • *****
  • Posts: 1020
Re: Build files
« Reply #1 on: January 27, 2017, 02:32:53 PM »
As you pointed out there's a build file in the source directory already. So what are you asking for?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Build files
« Reply #2 on: January 28, 2017, 01:36:00 AM »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 661
Re: Build files
« Reply #3 on: January 28, 2017, 02: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.


« Last Edit: January 28, 2017, 02:52:53 AM by patrikg »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Build files
« Reply #4 on: January 28, 2017, 03: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

Offline andyj

  • Hero Member
  • *****
  • Posts: 1020
Re: Build files
« Reply #5 on: January 28, 2017, 07: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.

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 661
Re: Build files
« Reply #6 on: January 28, 2017, 08: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.
« Last Edit: January 28, 2017, 09:15:52 AM by patrikg »

Offline andyj

  • Hero Member
  • *****
  • Posts: 1020
Re: Build files
« Reply #7 on: January 28, 2017, 08: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.