WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: compiletc.tce  (Read 3186 times)

Offline ^thehatsrule^

  • Administrator
  • Hero Member
  • *****
  • Posts: 1726
compiletc.tce
« on: June 06, 2009, 01:53:18 PM »
Code: [Select]
Title: compiletc.tce
Description: compiletc metapackage
Version: 0.1
Author: n/a
Original-site: tinycorelinux.com
Copying-policy: n/a
Size: 0 K
Extension_by: ^thehatsrule^
Comments: This is a meta-extension for a compile environment
Change-log: First version
Current: 2009/06/04

Note: this will use the new gcc and binutils extensions

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14570
Re: compiletc.tce
« Reply #1 on: June 06, 2009, 08:28:35 PM »
Note that help2man depends on perl - since it's not used too often, maybe better to leave it out?

Offline ^thehatsrule^

  • Administrator
  • Hero Member
  • *****
  • Posts: 1726
Re: compiletc.tce
« Reply #2 on: June 06, 2009, 10:54:21 PM »
Sounds fine
Code: [Select]
2009/06/07 - removed help2man

Offline danielibarnes

  • Hero Member
  • *****
  • Posts: 548
Re: compiletc.tce
« Reply #3 on: July 08, 2009, 12:30:01 PM »
Are there plans to make a version of this which gets the .tcz versions of all the components? I had to manually retrieve each one. Keeping the base name the same is important, so a "compiletc-tcz.tce" could be confusing. An empty compiletc.tcz would needlessly consume a loop device, so I'm not sure what the best solution would be. Maybe a /usr/local/tce.installed/compiletc script (within a user.tar.gz of course) that immediately unmounted the loop device? Something like:

LOOP=$(losetup -a|grep $(basename $0)|cut -d: -f1)
[ -n "$LOOP" ] && sudo umount $LOOP && and sudo losetup -d $LOOP

What do you think? I tested it and it seems to work. I'll submit my compiletc.tcz if this sounds good.