Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[howto] Come installare Gentoo (stage3)con le dietlibc
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
Ibanez-RgX
Apprentice
Apprentice


Joined: 19 Mar 2003
Posts: 165
Location: Rome

PostPosted: Tue Jul 13, 2004 9:42 am    Post subject: [howto] Come installare Gentoo (stage3)con le dietlibc Reply with quote

Allego la traduzione di questo howto per i non anglofoni. In pratica permette di installare gentoo usando le dietlibc che sono una versione minimale delle glibc.

La via più facile (modo dispendioso di tempo ;)):

Dopo aver scompattato il tarball dello stage3-tarball fate l'emerge delle dietlibc
Code:

# emerge dietlibc

Dopodichè, modificate il vostro make.conf e aggiungete le seguenti linee in qualunque punto del vostro make.conf (preferibilmente dopo la sezione host-settings):
Code:

# Compiler Setting
# ================
#
# If you want to use a different libc (i.e. fefe`s dietlibc) and
# you are provided with a wrapper script for gcc you want to
# change this line.
#COMPILER="gcc3"
COMPILER="diet"

e cambiate i vostri CFLAGS:
Code:

# Solitamente compilo con -pipe e -fomit-frame-pointer
CFLAGS="-march=your_arch_here -Os"

Ora dovete ricompilare tutti i vostri pacchetti (questa era la via dispendiosa di tempo ;) ):
Code:

# export CONFIG_PROTECT="-* /etc/make.conf"
# emerge -uUDep system
( prints packages )
# emerge -uUDe system
( recompiles all (new) packages using dietlibc )
# unset CONFIG_PROTECT


... e continuate con lo step 14 della guida di installazione.
Non dimenticate di fare il backup del vostro make.conf prima di ogni update di portage update. Portage, se non fate attenzione col comando
Code:
etc-update
modificherà il vostro make.conf con uno di default.
_________________
Home page http://www.gentoo-italia.net
Wiki http://wiki.gentoo-italia.net


Last edited by Ibanez-RgX on Wed Jul 14, 2004 8:17 am; edited 3 times in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30888
Location: here

PostPosted: Tue Jul 13, 2004 9:45 am    Post subject: Reply with quote

Aggiunto nei post utilissimi
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ibanez-RgX
Apprentice
Apprentice


Joined: 19 Mar 2003
Posts: 165
Location: Rome

PostPosted: Tue Jul 13, 2004 9:46 am    Post subject: Reply with quote

fedeliallalinea wrote:
Aggiunto nei post utilissimi


Ottimo :wink:
_________________
Home page http://www.gentoo-italia.net
Wiki http://wiki.gentoo-italia.net
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Jul 14, 2004 6:57 am    Post subject: Re: [howto] Come installare Gentoo (stage3)con le dietlibc Reply with quote

Ibanez-RgX wrote:
Non dimenticate di fare il backup del vostro make.conf prima di ogni update di portage update. Portage modificherà il vostro make.conf con uno di default.


A me questa frase non mi convince mica tanto.... perché e quando portage dovrebbe modificare il mio make.conf?
_________________
Ciao da me!
Back to top
View user's profile Send private message
Ibanez-RgX
Apprentice
Apprentice


Joined: 19 Mar 2003
Posts: 165
Location: Rome

PostPosted: Wed Jul 14, 2004 8:15 am    Post subject: Re: [howto] Come installare Gentoo (stage3)con le dietlibc Reply with quote

randomaze wrote:
Ibanez-RgX wrote:
Non dimenticate di fare il backup del vostro make.conf prima di ogni update di portage update. Portage modificherà il vostro make.conf con uno di default.


A me questa frase non mi convince mica tanto.... perché e quando portage dovrebbe modificare il mio make.conf?


Penso si riferisca agli utenti che danno etc-update senza pensarci, che effettivamente dopo un update del portage ti sostituisce il make.conf
_________________
Home page http://www.gentoo-italia.net
Wiki http://wiki.gentoo-italia.net
Back to top
View user's profile Send private message
eaglematt
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 140

PostPosted: Thu Sep 30, 2004 9:25 am    Post subject: Reply with quote

Ma siamo sicuri che funziona???
Ho modificato il make.conf verificato le variabili di ambiente
ho emerso grep..................
ma quando compila usa gcc e non
Code:
 diet gcc
8O
ho provato a cambiare la variabile di ambiente CC in
Code:
CC="diet gcc"

ma ora grep neanche si compila (trova qualche variabile ridefinita??????)
8O
Idee??????

PS. pensate che per ricompilare tutto si può usare gufo o vale solo per le cflag?
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu Sep 30, 2004 9:27 am    Post subject: Reply with quote

eaglematt wrote:
CC="diet gcc


Non so, io non ho mai provato, comuqnue nell howto dice di usare:

Code:
CC="diet"


senza il gcc finale...
_________________
Ciao da me!
Back to top
View user's profile Send private message
eaglematt
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 140

PostPosted: Thu Sep 30, 2004 9:27 am    Post subject: Reply with quote

Aggiunta : gcc e altri vanno ricompilati con l'opzione diet???
Credo di no ma vedremo cosa succede
Adesso ricompilo grep senza ls modifica ad env vi saprò dire
Matt
Back to top
View user's profile Send private message
eaglematt
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 140

PostPosted: Thu Sep 30, 2004 9:35 am    Post subject: Reply with quote

non proprio
Quote:

Non so, io non ho mai provato, comuqnue nell howto dice di usare:


Codice:
CC="diet"

infatti dice di modificare inel make.conf
Code:

COMPILER="diet"

mah a me non sembre funzionare
senza la modifica in env
Compila normalente con -Os come flag
Back to top
View user's profile Send private message
eaglematt
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 140

PostPosted: Thu Sep 30, 2004 9:45 am    Post subject: Reply with quote

Aggiornamento:
mettendo
Code:
CC="diet"
non compila proprio
Credo che sia più corretto utilizzare diet gcc come da documentazione trovata sul sito delle dietlibc

Saluti Matt
Back to top
View user's profile Send private message
FreeManAtomic
Guru
Guru


Joined: 01 Feb 2005
Posts: 365

PostPosted: Wed Jun 15, 2005 10:56 pm    Post subject: Reply with quote

Utilizzare queste librerie, cosa comporta prestazionalemente???? E a livello di funzionalita?


grazie
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Thu Jun 16, 2005 6:45 am    Post subject: Reply with quote

buona lettura :-)
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum