public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc and glibc
@ 2011-06-01 19:17 Bill Cunningham
  2011-06-01 19:44 ` Sam Varshavchik
  2011-06-02  0:14 ` Ian Lance Taylor
  0 siblings, 2 replies; 3+ messages in thread
From: Bill Cunningham @ 2011-06-01 19:17 UTC (permalink / raw)
  To: gcc-help

    I want to compile a new gcc and glibc. Glibc and how to switch it over 
to be the main library is complicated enough to me and OT so I will not 
mention that.

    As far as gcc goes  I want to upgrade from the 3.x.x series to 4.6.0. 
How can I create a working compile that uses the least amount of glibc as 
possible. Maybe it is a cross compiler I am looking for. I want to upgrade 
my whole system. The reason I am not just getting a newer version of linux 
is that the newer flavors are not to my liking. Any suggestions?

Bill

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gcc and glibc
  2011-06-01 19:17 gcc and glibc Bill Cunningham
@ 2011-06-01 19:44 ` Sam Varshavchik
  2011-06-02  0:14 ` Ian Lance Taylor
  1 sibling, 0 replies; 3+ messages in thread
From: Sam Varshavchik @ 2011-06-01 19:44 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 857 bytes --]

Bill Cunningham writes:

>    I want to compile a new gcc and glibc. Glibc and how to switch it over to  
> be the main library is complicated enough to me and OT so I will not mention  
> that.
>
>    As far as gcc goes  I want to upgrade from the 3.x.x series to 4.6.0. How  
> can I create a working compile that uses the least amount of glibc as  
> possible. Maybe it is a cross compiler I am looking for. I want to upgrade  
> my whole system. The reason I am not just getting a newer version of linux  
> is that the newer flavors are not to my liking. Any suggestions?

You should be able to compile your new version of gcc using the existing gcc  
that you have installed.

P.S. There's nothing wrong with trying to rebuild your own system all by  
yourself. It's a good learning experience. But it won't be easy. That's why  
distributions exist.

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gcc and glibc
  2011-06-01 19:17 gcc and glibc Bill Cunningham
  2011-06-01 19:44 ` Sam Varshavchik
@ 2011-06-02  0:14 ` Ian Lance Taylor
  1 sibling, 0 replies; 3+ messages in thread
From: Ian Lance Taylor @ 2011-06-02  0:14 UTC (permalink / raw)
  To: Bill Cunningham; +Cc: gcc-help

"Bill Cunningham" <billcun@suddenlink.net> writes:

>    I want to compile a new gcc and glibc. Glibc and how to switch it
> over to be the main library is complicated enough to me and OT so I
> will not mention that.
>
>    As far as gcc goes  I want to upgrade from the 3.x.x series to
> 4.6.0. How can I create a working compile that uses the least amount
> of glibc as possible. Maybe it is a cross compiler I am looking for. I
> want to upgrade my whole system. The reason I am not just getting a
> newer version of linux is that the newer flavors are not to my
> liking. Any suggestions?

I suppose one way you could build a gcc that uses very little from glibc
would be to first build a cross-compiler which uses newlib, and then use
that cross-compiler to build gcc.  I'm sure you would run into a number
of hurdles, but I expect they could be overcome with effort.

More generally: http://www.linuxfromscratch.org/

Ian

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-02  0:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-01 19:17 gcc and glibc Bill Cunningham
2011-06-01 19:44 ` Sam Varshavchik
2011-06-02  0:14 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).