WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Using GCC on TC 2.3.1 to build an X11 app?  (Read 1900 times)

Offline rminnich

  • Newbie
  • *
  • Posts: 13
Using GCC on TC 2.3.1 to build an X11 app?
« on: October 02, 2009, 12:02:30 AM »
I've got a very simple X11 app which, when built on other systems, won't always run on TC.

I'd like to be able to install a minimal set of extensions to allow me to build this app on TC 2.3.1. To this end, I have installed TC on a USB stick and
have added several extensions. I have installed gcc 4 as of today
but find that gas did not come with it.

So, first question, is it unrealistic to want to build an X11 app "native" on TC? Should I always plan to cross-build?

Second, which extension contains gas? I have searched the TCE and TCZ but don't see it.

Thanks for this wonderful effort.

Ron

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Using GCC on TC 2.3.1 to build an X11 app?
« Reply #1 on: October 02, 2009, 12:50:06 AM »
To compile on tc, you need to install the compiletc "meta extension" (or its component parts). Then to compile an X app, you'll no doubt need the Xorg-7.4-dev extension for the various headers, etc.

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: Using GCC on TC 2.3.1 to build an X11 app?
« Reply #2 on: October 02, 2009, 01:17:30 AM »
Quote
but find that gas did not come with it.
The binutils extension has as, it is in the compiletc deps
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline rminnich

  • Newbie
  • *
  • Posts: 13
Re: Using GCC on TC 2.3.1 to build an X11 app?
« Reply #3 on: October 03, 2009, 01:46:54 AM »
Thanks for the help, that did the trick!

ron