WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TCE Compile  (Read 5819 times)

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 708
TCE Compile
« on: April 20, 2016, 05:29:39 AM »
Hello Tiny Core Users

I am also a fan of FreeBSD, because of the "Port Collection".
Could the port collection be some tips/tricks tool to make tiny core extensions.

You can first visit there site to search for your program/server and see what
dependencies there are for the program/server.
https://www.freebsd.org/ports/

You can also sneak into there Makefile to see how to compile and install.

Could this be something for tinycore to "copy", the way of making extensions.
To make more public, the collection of building scrips.

Now there are some of the extensions that have there own building scripts.
Have seen curl and some another.

I love this text from the FreeBSD site:
Each port's Makefile automatically fetches the application source code, either from a local disk, CD-ROM or via ftp, unpacks it on your system, applies the patches, and compiles. If all went well, a simple make install will install the application and register it with the package system.


Just a thought to make it little easier.

Thanks
//Patrik

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: TCE Compile
« Reply #1 on: April 20, 2016, 09:47:50 AM »
In my experience of putting together a number of extensions, it's the quirks of each package that cause the problems. I start with a basic script, assign some variables, but eventually I need to add some odd fixup or twenty along the way to keep things going. Also, I don't see how putting the code into a Makefile custom for each package would be much different from a custom build script using the stock source. It would be pretty much the same code either way.

Having said all that, if you really want to wrestle this beast, I'll help where I can.