WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: GCC update for tinycore  (Read 4995 times)

Offline quick-

  • Newbie
  • *
  • Posts: 2
GCC update for tinycore
« on: March 01, 2013, 01:23:42 PM »
Hi ,

I am using tincore with only cli .I  wanted to install a software from source .For that I  installed gcc but the problem is i am getting an error
"Cannot create excutables "
After my research i found that the error is due to gcc as the tinycore repository provides 4.6.1 and i need at least 4.6.3 as the package is being installed on ubuntu12.04 LTS with gcc 4.6.3.

Please help.

Thanks in advance.
Live life :)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11581
Re: GCC update for tinycore
« Reply #1 on: March 01, 2013, 02:54:29 PM »
Hi quick-
Install   compiletc.tcz   so that you have a proper tool chain, then try again. Depending on what you are trying to
compile, you might also need   linux-headers-3.0.21-tinycore.tcz.
Stating what package you are trying to compile and what commands you used might have been helpful.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: GCC update for tinycore
« Reply #2 on: March 01, 2013, 02:58:03 PM »
Rich@

He need GCC 4.6.3 while we have 4.6.1 in the repo.
Béla
Ham Radio callsign: HA5DI

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

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: GCC update for tinycore
« Reply #3 on: March 01, 2013, 03:01:31 PM »
Then maybe he should build his Ubuntu programs on Ubuntu.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: GCC update for tinycore
« Reply #4 on: March 01, 2013, 03:31:44 PM »
Then maybe he should build his Ubuntu programs on Ubuntu.

Or update GCC. In piCore we have 4.6.3
Béla
Ham Radio callsign: HA5DI

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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11581
Re: GCC update for tinycore
« Reply #5 on: March 01, 2013, 03:34:28 PM »
Hi bmarkus
Quote
He need GCC 4.6.3 while we have 4.6.1 in the repo.
With the information he provided it is difficult to determine if he really needs 4.6.3, or he just thinks he needs it
because he has an Ubuntu machine with 4.6.3 installed. For all I know, the error he listed came from the
configure script because he was missing some of the utilities compiletc provides.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: GCC update for tinycore
« Reply #6 on: March 01, 2013, 03:41:51 PM »
Right, no enough information provided to find root cause of the failed build.

In fact till know I didn't aware it's 4.6.1 as all my extensions build fine.
Béla
Ham Radio callsign: HA5DI

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

Offline quick-

  • Newbie
  • *
  • Posts: 2
Re: GCC update for tinycore
« Reply #7 on: March 01, 2013, 11:57:22 PM »
Thank you Rich , bmarkus and gerald_clark  for the help.
@gerald_clark : I have to port this to a portable embedded device that's why i want to use tinycore . :)

The search of the error provided that i should update gcc that's why i thought i have to update.

I downloaded the compiletc and it worked fine early this morning.
Thanks again  :)
Live life :)