WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: source code for compiletc.tcz  (Read 2037 times)

Offline blue horse

  • Newbie
  • *
  • Posts: 31
source code for compiletc.tcz
« on: June 03, 2012, 02:43:28 AM »
where can i find source code for compiletc.tcz?
i intend to build toolchain on cygwin within windows environment, so i will be able to compile tc applications within windows then run on tc.
 

Offline solorin

  • Full Member
  • ***
  • Posts: 184
Re: source code for compiletc.tcz
« Reply #1 on: June 03, 2012, 03:38:19 AM »
http://distro.ibiblio.org/tinycorelinux/4.x/x86/tcz/compiletc.tcz.dep

i believe most of what's in the -dev extensions is in source form already.
then work your way down the list and check if your cygwin environment has those tools.

while your at it, see if you can't get tc-ext-tools to work too?
it's *so* much easier than hand-rolling extensions.
« Last Edit: June 03, 2012, 03:45:18 AM by solorin »
. . . if you don't know, now you know. . .
        ----- R.I.P. Biggie Smalls -----

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: source code for compiletc.tcz
« Reply #2 on: June 03, 2012, 07:40:13 AM »
..and the source should be in the relevant src folder - eg 4.x/x86/tcz/src/sed or similar

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
source code for compiletc.tcz
« Reply #3 on: June 03, 2012, 08:43:40 AM »
For this I simply run tc in a VM on Windows, makes compiling any source and hand rolling your extensions as easy as eating apple pie, what could possibly be easier than that?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: source code for compiletc.tcz
« Reply #4 on: June 03, 2012, 09:22:17 AM »
That's going to be a lot of work and trouble. I too think it would be easier to use a VM or a native box, etc.
The only barriers that can stop you are the ones you create yourself.

Offline blue horse

  • Newbie
  • *
  • Posts: 31
Re: source code for compiletc.tcz
« Reply #5 on: June 03, 2012, 06:50:22 PM »
i guess this deserves a bit explanation.

i am developing a fully automated testing software, which would build binaries for different target platforms on a single host machine, then deploy binaries to the target systems. apparently, the target system mostly likely does not have toolchain.

as such, i do not necessarily have to build tc application, but i personally like tc as a lightweight/free/easy-to-use distro, it would represent linux platform as good as any. 

i have been very curious about how much adoption of tc in commercial applications.

by the way, my code will be open source, and suggestions are always welcome.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: source code for compiletc.tcz
« Reply #6 on: June 04, 2012, 05:24:32 AM »
For such an universal build machine, you should use Linux not Windows. From that direction things are much easier, even when building for Windows or other non-unix platforms. (this is not taking into account the other niceties like proper shell, stability...)

Then building for TC becomes a fact of having a TC chroot. Or just having the host with matching or older versions - if you build on Debian stable, the binary is going to run on most distros newer than it.

Quote
i have been very curious about how much adoption of tc in commercial applications.

There are a few, but I'm not sure we can mention any. :)
The only barriers that can stop you are the ones you create yourself.