Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: rminnich on October 02, 2009, 12:02:30 AM

Title: Using GCC on TC 2.3.1 to build an X11 app?
Post by: rminnich 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
Title: Re: Using GCC on TC 2.3.1 to build an X11 app?
Post by: Juanito 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.
Title: Re: Using GCC on TC 2.3.1 to build an X11 app?
Post by: robc 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
Title: Re: Using GCC on TC 2.3.1 to build an X11 app?
Post by: rminnich on October 03, 2009, 01:46:54 AM
Thanks for the help, that did the trick!

ron