shell@UNIX:~$ / CLI Official Corner [Gentoo, Bash, Compiling and TTY official topic]
  • In diretta da GamesVillage.it
    • News
    • -
    • In Evidenza
    • -
    • Recensioni
    • -
    • RetroGaming
    • -
    • Anteprime
    • -
    • Video
    • -
    • Cinema

Pag 1 di 6 1234 ... UltimoUltimo
Visualizzazione risultati da 1 a 15 di 76

Discussione: shell@UNIX:~$ / CLI Official Corner [Gentoo, Bash, Compiling and TTY official topic]

Cambio titolo
  1. #1
    gommosgol
    Ospite

    shell@UNIX:~$ / CLI Official Corner [Gentoo, Bash, Compiling and TTY official topic]

    CLI Official Corner

    Ovvero il vostro helpbox su compilazioni, linea di comando e distro difficili. E sistemi operativi esotici.
    coming soon, on f=77.

    Indice degli argomenti:

    Base:
    1.Introduzione alla CLI [gommosgol]
    2. I comandi fondamentali WIP
    [gommosgol]
    -ls
    -cp
    -mv
    -rm
    -mkdir
    -touch
    -ln
    3. Gestione dei permessi e degli utenti [Adottami!]
    -Tutta una questione di permessi: tutto sui permessi UNIX [veleno77]
    -chmod
    -chgrp
    -chown
    -groupadd
    -groupdel
    -useradd
    -userdel
    -su
    -sudo
    -passwd
    -chsh
    4. Le variabili di ambiente: cosa sono, come funzionano. I comandi di ambiente. [Adottami!]
    - Introduzione a Bash
    - env
    - Impostare variabili

    [WIP]

    Esperienze:
    - Cronache di LFS [ovvero, non abbiamo niente da fare oggi]
    1. Chi ben comincia... Non è me.
    2. SBU, Binutils e cazzate varie: costruire una toolchain
    3. GCC e Glibc. Lunga pausa Caffè.
    4. Iniziamo un po' a trustare...
    5. Incubo Tcl
    6. Patch per coreutils-6.9
    Bacheca degli annunci

    -Cercasi curatori! GLi articoli in cerca di curatori sono segnati con un [Adottami!] a lato.
    -Aiuto! Mi serve aiuto, la mia fantasia in fatto di comandi è già finita! Mi servono suggerimenti.
    -Qualcuno può dirmi se alcuni dei comandi che ho elencato sono di Debian o fanno parte di GNU?

    -Per un moderatore: la mia idea era quella di fare un post per ogni comando, e linkarlo a questo post. Sarebbe più facile trovare la definizione e le modalità di uso di ogni comando rispetto che in elenchi giganteschi. Però, finirei con insozzare questo thread: posso creare un altro thread chiamato "Lista di Comandi UNIX [Non postare]" in cui metterli per poi linkarli qui?

    -Coming soon:
    Sezione per gentoo
    Sezione compilazione
    Sezione Shell
    Sezione Strumenti da terminale
    Sezione kernel
    Sezione trucchi

    Ultima modifica di gommosgol; 18-08-2008 alle 12:14:49

  2. #2
    gommosgol
    Ospite
    Introduzione alla CLI

    - Aspetta un attimo, che cos'è la CLI?
    CLI sta per Command Line Interface. In parole povere, è un metodo per lavorare con il tuo computer utilizzando, invece di mouse e interfacce punta e clicca, comandi da tastiera.
    -Bello. E io che ci guadagno?
    Beh, innanzitutto un bel po' di tempo. La CLI permette di eseguire operazioni che da interfaccia grafica richiederebbero passaggi abbastanza lunghi in pochi istanti.
    - Ad esempio?
    Beh, prendi come esempio installare il pacchetto hfsplus su Debian: se usassi una GUI (Graphical User Interface), dovresti aprire il menù del tuo desktop manager, inserire una password, aprire synaptic e cercare il pacchetto nell'immensità presente nei repository debian, e solo una volta trovato installarlo.
    Con la CLI ti basta semplicemente scrivere
    Codice:
    su
    apt-get install hfsplus
    per ottenere lo stesso risultato nella metà del tempo. E le possibilità non finiscono qui.
    - Tutto qui? Se devo risparmiare 16 secondi, che mi serve a fare questa fatica?
    Capiterà prima o poi che comprerai qualche periferica non supportata, qualche aggiornamento azzardato o non autenticato renda X non funzionante o debba semplicemente installare un software che la tua distribuzione non pacchettizza, compilandolo da sorgente. In ogni caso, la CLI è il cuore di UNIX: la semitotalità delle applicazioni grafiche che usi ogni giorno sul tuo Ubuntu, Fedora, Mandriva, Suse... non sono altro che interfacce che sfruttano i comandi già esistenti nella CLI .
    Imparare il loro funzionamento non può fare altro che bene, perchè aiuta a capire come realmente funziona ciò che usi ogni giorno, e come ripararlo e capire cos'ha quando non va.
    -Bene, allora quando si comincia?
    Piano, lasciami il tempo di scrivere.

  3. #3
    gommosgol
    Ospite

    [Cronache di LFS] Chi ben comincia... Non è me.

    Allora, oggi, mercoledì 13 agosto, ho scaricato il manuale di LFS, preso da una crisi mistico-iraconda dovuta a un'altro format di Ubuntu (che misteriosamente aveva fottuto APT.).
    http://www.linuxfromscratch.org/lfs/packages.html

    Sono risoluto ad arrivare alla fine. E a rischiare, anche, come se non mi piacessero le cose che funzionano.
    Rischierò compilando LFS a 64 bit (l'handbook non lo prevede, no), e con versioni di software più nuove di quelle del manuale, in barba alle indicazioni. E che ci posso fare, sono fatto così, mi piace tirare bestemmie evidentemente. Userò questo forum per annotare consigli inutili o meno per coloro che intraprenderanno in futuro la mia strada.
    Spero di non aver irritato nessuno con questa partenza in grande, in una sezione così piccola; purtroppo non sono il genere di persona capace di stare troppo ferma in un sol posto, di accontentarsi e smettere di cercare. E di stare zitta. E questo mi ha fregato più volte, in tutto.
    Iniziamo creando le partizioni per LFS.

    -Ho creato una partizione JFS da 10 GB. Credo basti per il mio sistema completo; questa ubuntu funziona da una partizione della stessa dimensione.
    Perchè JFS? Perchè mi piace, perchè è veloce, e non si spacca mai.
    Una volta mi saltò la corrente: Ci misi mezz'ora a riparare le partizioni XFS con xfs_repair. jfs_fsck invece corresse tutti gli errori e mi rimise in piedi il / con un nuovo log e nessuna perdita nel giro di 30 secondi scarsi. Il suo unico difetto è che non si può ridurre; poco importa, la funzione di allargamento dei file system montati lo ripaga ampiamente di questa mancanza.
    Per impostare una label, con qualunque utility di creazione filesystem, si pu&#242; usare il parametro -L <label>.

    -Ho creato una piccola partizione di boot da 100MB. Ma un errata di LFS comunica che GRUB non carica dai nuovi filesystrem ext2/3 con inode da 256 byte.
    Esiste una patch, ma ho preferito risolvere creandolo con un inode a 128 byte. Per impostare la dimensione dell'inode, bisogna aggiungere il parametro -I <inode> a mke2fs. In questo caso, il parametro sar&#224; -I 128. Il valore di default &#232; 256, che su Grub liscio non va.

    -Per lo swap, mi sono accontentato di 512 MB, gi&#224; in funzione con Ubuntu.

    -Il manuale consiglia di utilizzare variabili per il terminale per trovare prima la directory di LFS: questo &#232; un consiglio molto utile.
    Per dichiarare una variabile, in un terminale vuoto scriviamo
    [nomevariabile]=valore
    dove il valor sar&#224; il path di lfs. Possiamo crearne uno anche per altre directory, io l'ho fatto anche per la directory sorgenti. Attenzione per&#242;: il nome della variabile scritto cos&#236; indica la variabile, con un $ davanti il suo contenuto. Pertanto, per usare il valore che abbiamo impostato alla variabile, dovremo scrivere $[nomevariabile].

    - L'utilizzo di un client ftp per il download di tanti tarball sorgenti &#232; consigliato, anche perch&#232; tanti sono su ftp.gnu.org o kernel.org. Il comando ftp da terminale mi &#232; risultato molto utile a questo scopo.

    -ftp non supporta l'autocompletamento con TAB; permette per&#242; di abbreviare i nomi dei comandi, se l'abbreviazione non risulta ambigua. Ad esempio, clo ha la stessa funzione di close, come o di open.

    -Gli archivi bz2 pesano meno di quelli gz; scaricate sempre quelli se avete connessioni lente o siete di fretta, &#232; assolutamente uguale.

    E ora... Iniziamo a creare la toolchain.
    Auguratemi buona fortuna. Anche se non me la meriterei
    Ultima modifica di gommosgol; 13-08-2008 alle 19:35:28

  4. #4
    Stufo L'avatar di nico402
    Registrato il
    01-06
    Messaggi
    5.779
    Citazione gommosgol Visualizza Messaggio
    Allora, oggi, mercoled&#236; 13 agosto, ho scaricato il manuale di LFS, preso da una crisi mistico-iraconda dovuta a un'altro format di Ubuntu (che misteriosamente aveva fottuto APT.).
    http://www.linuxfromscratch.org/lfs/packages.html

    Auguratemi buona fortuna. Anche se non me la meriterei
    buona fortuna

    PS: ad inizio pomeriggio mi avevi detto che ubuntu ti funzionava che sfiga
    PPS: se usi l'svn dell'handbook hai la x64... almeno a quanto leggo sul sito


  5. #5
    Nightshroud
    Ospite
    Anche io volevo farmi un sistema dai sorgenti, ma ho rinunciato quando mi sono accorto che non ho assolutamente la pazienza necessaria. Lo dimenticherei in una partizione a meta.

  6. #6
    Linux User #443462 L'avatar di veleno77
    Registrato il
    04-05
    Località
    Torino
    Messaggi
    6.536
    Sei pressochè un fenomeno.... il thread è geniale... bello bello.... spero che riesci nella impresa... se ti serve spazio puoi scrivere sul mio sito


    P.s con la prima parte inerente alla cli... intendi mettere anche tutta una serie di comandi esotici, programmi ecc... che vanno da shell ... la cosa mi interesserebbe molto....

  7. #7
    Lego Vegas Utonto L'avatar di Sheriff
    Registrato il
    10-06
    Messaggi
    25.219
    la shell mi ha sempre affascinato (s&#236;, lo so, a volte posso essere un vero nerd )

    sono molto curioso di sperimentare un p&#242; di roba (tanto io col format vado molto d'accordo, siamo culo e camicia). mi sono appena stampato le basi dei commandi della shell da qui. sono gli stessi che usiamo oggi vero ?!?

  8. #8
    hav0c
    Ospite
    Io approfitto subito della parte sulla shell Che differenze ci sono tra una shell e l'altra?

  9. #9

  10. #10
    gommosgol
    Ospite

    [Cronache di LFS] SBU, Binutils e cazzate varie: costruire una toolchain

    Comincio spacchettando il pacchetto sorgente di binutils. Il manuale consiglia la 2.17, la mia è la 2.18, che problema vuoi che ci sia. Beh, c'è.
    Intanto, creo una directory esterna all'albero dei sorgenti, come consiglia la documentazione.

    L'importante, nel costruire la toolchain, è renderla indipendente dalle librerie dinamiche dell'host. Deve divenire autosufficiente, e capace di chroottarvi dentro. Tutti i software saranno messi in una directory nella root del nuovo sistema.
    Questo si fa controllando molto bene il linker ld delle binutils, sincerandosi che quello che useremo in futuro sarà sempre quello della toolchain. Una volta compilate le Glibc, dovremo ricompilare binutils per far si che non usino più le Glibc dell'host ma quelle nuove.
    Compilerò usando CHOST e CFLAGS personalizzate. Il manuale non le imposta, le imposterò io mettendo le variabili prima di ogni configure.
    Avendo io un Pentium D ed essendo io a 64 bit, ho impostato CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"

    Altre cflags si trovano qui, sul wiki di Gentoo.

    Scopro a mie spese che il configure di binutils-2.18 è buggato, e non riconosce texinfo se non è ad una versione inferiore della 4.9. Per fortuna, trovo questa patch, e dopo averla messa nella directory dei sorgenti ed averla patchata con il comando patch, binutils si è compilato senza troppi problemi.
    Spoiler:
    Applicare le patch
    le patch possono essere rapidamente applicate nella directory del sorgente con il comando patch -p1 < filepatch.


    Successivamente, è stato necessario eliminare con make -C ld clean il prodotto della compilazione di ld.
    Con i comandi
    Codice:
    make -C ld LIB_PATH=/tools/lib
    cp -v ld/ld-new /tools/bin
    compilo di nuovo il linker e lo installo, ma gli segnalo il path /tools/lib come percorso predefinito per le librerie. Questo in previsione di un futuro dove dovremo linkare tutto alla nuove GLibc.

    Passo poi al GCC, che va compilato un po' con la stessa tecnica (directory esterna al sorgente per i Makefile), e va poi compilato passando l'opzione bootstrap a make. Essa fa si che il gcc venga prima compilato, e poi si ricompili da solo usando il nuovo compilatore, tutto questo 2 volte. Questo passaggio previene da errori di compilazione.
    Ora sto compilando, ma ho il vago sentore che qualcosa fallirà. Non mi sono mai fidato della compilazione del software.

    Curiosità: LFS usa un particolare sistema per misurare la durata della compilazione dei software: le SBU. Visto che il tempo di compilazione varia a seconda del sistema in uso, usa il tempo di compilazione di binutils per creare una proporzione di riferimento fra tutti i tempi, che si misura appunto in SBU.
    Binutils ha 1 SBU. GCC (con bootstrap) 9,2
    Ultima modifica di gommosgol; 14-08-2008 alle 13:17:55

  11. #11
    gommosgol
    Ospite

    [Cronache di LFS] GCC e Glibc. Lunga pausa caffè.

    GCC si è installato senza problemi. Dopo aver linkato il nuovo compilatore al link cc, ho estratto i sorgenti del kernel e ho installato solo gli header. Questo perchè le glibc per compilarsi correttamente ne avranno bisogno.
    Passo poi all'estrazione dei sorgenti delle GLibc, le configuro (anche qui qualche scherzetto di Ubuntu/Debian e i suoi pacchetti divisi in dev e non dev) e subito appare un problema appena lanciato il make.
    Il nuovo gcc ha infatti spostato alcune librerie in directory diverse dalle precendenti versioni, cosa che il configure di GLibc non aveva affatto previsto.
    Per fortuna il mio mentore Google mi ha fornito la soluzione, che qualche anima pia ha scritto sotto forma di patch.
    http://sourceware.org/ml/libc-alpha/.../msg00017.html

    Questa patch patcha configure.in e lo rende in grado di trovare limits.h.
    Qualche errore insorge poi per via della mia ignoranza: compilare i pacchetti in /tools (la directory del toolchain) rende buggosa la compilazione. Presto risolto spostando tutto nella directory con gli archivi sorgenti.

    Direi che ci vorrà un bel po' di tempo, alle GLibc.
    Per fortuna che ci sono le olimpiadi, altrimenti sarebbe stato molto noioso.
    Qualcuno sa quando fanno il tennis tavolo?

  12. #12
    Nightshroud
    Ospite
    Gommosgol, aiuto.

    Sto per installare GCC (4.1.2) con il comando make install, ma ottengo:
    make[1]: Entering directory `/media/disk-1/tools/gcc-4.1.2'
    /bin/sh ./mkinstalldirs /tools /tools
    cd: 5: can't cd to host-i686-pc-linux-gnu/fixincludes
    make[1]: *** [install-fixincludes] Error 2
    make[1]: Leaving directory `/media/disk-1/tools/gcc-4.1.2'
    make: *** [install] Error 2
    Ultima modifica di Nightshroud; 14-08-2008 alle 16:52:40

  13. #13
    gommosgol
    Ospite
    Citazione Nightshroud Visualizza Messaggio
    Gommosgol, aiuto.

    Sto per installare GCC (4.1.2) con il comando make install, ma ottengo:
    Cazzo, questo non so risolverlo, anche perchè io uso la 4.3 e x86_64. prova a postare anche un po' dell'output prima.

  14. #14
    Nightshroud
    Ospite
    Citazione gommosgol Visualizza Messaggio
    Cazzo, questo non so risolverlo, anche perchè io uso la 4.3 e x86_64. prova a postare anche un po' dell'output prima.
    Ecco:
    Spoiler:
    -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -fpic ../.././libiberty/xatexit.c -o pic/xatexit.o; \
    else true; fi
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../.././libiberty/xatexit.c -o xatexit.o
    if [ x"-fpic" != x ]; then \
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -fpic ../.././libiberty/xexit.c -o pic/xexit.o; \
    else true; fi
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../.././libiberty/xexit.c -o xexit.o
    if [ x"-fpic" != x ]; then \
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -fpic ../.././libiberty/xmalloc.c -o pic/xmalloc.o; \
    else true; fi
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../.././libiberty/xmalloc.c -o xmalloc.o
    if [ x"-fpic" != x ]; then \
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -fpic ../.././libiberty/xmemdup.c -o pic/xmemdup.o; \
    else true; fi
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../.././libiberty/xmemdup.c -o xmemdup.o
    if [ x"-fpic" != x ]; then \
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -fpic ../.././libiberty/xstrdup.c -o pic/xstrdup.o; \
    else true; fi
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../.././libiberty/xstrdup.c -o xstrdup.o
    if [ x"-fpic" != x ]; then \
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -fpic ../.././libiberty/xstrerror.c -o pic/xstrerror.o; \
    else true; fi
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../.././libiberty/xstrerror.c -o xstrerror.o
    if [ x"-fpic" != x ]; then \
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -fpic ../.././libiberty/xstrndup.c -o pic/xstrndup.o; \
    else true; fi
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../.././libiberty/xstrndup.c -o xstrndup.o
    if [ x"-fpic" != x ]; then \
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -fpic ../.././libiberty/mkstemps.c -o pic/mkstemps.o; \
    else true; fi
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../.././libiberty/mkstemps.c -o mkstemps.o
    rm -f ./libiberty.a pic/./libiberty.a
    ar rc ./libiberty.a \
    ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./mkstemps.o
    ranlib ./libiberty.a
    if [ x"-fpic" != x ]; then \
    cd pic; \
    ar rc ./libiberty.a \
    ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./mkstemps.o; \
    ranlib ./libiberty.a; \
    cd ..; \
    else true; fi
    rm -f needed-list; touch needed-list; \
    for f in atexit calloc memchr memcmp memcpy memmove memset rename strchr strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf vfork waitpid bcmp bcopy bzero; do \
    for g in ./mkstemps.o ; do \
    case "$g" in \
    *$f*) echo $g >> needed-list ;; \
    esac; \
    done; \
    done
    echo ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o > required-list
    make[2]: Entering directory `/media/disk-1/tools/gcc-4.1.2/host-i686-pc-linux-gnu/libiberty/testsuite'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/media/disk-1/tools/gcc-4.1.2/host-i686-pc-linux-gnu/libiberty/testsuite'
    make[1]: Leaving directory `/media/disk-1/tools/gcc-4.1.2/host-i686-pc-linux-gnu/libiberty'
    make[1]: Entering directory `/media/disk-1/tools/gcc-4.1.2/host-i686-pc-linux-gnu/libcpp'
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o charset.o -MT charset.o -MD -MP -MF .deps/charset.Po ../.././libcpp/charset.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o directives.o -MT directives.o -MD -MP -MF .deps/directives.Po ../.././libcpp/directives.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o errors.o -MT errors.o -MD -MP -MF .deps/errors.Po ../.././libcpp/errors.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o expr.o -MT expr.o -MD -MP -MF .deps/expr.Po ../.././libcpp/expr.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o files.o -MT files.o -MD -MP -MF .deps/files.Po ../.././libcpp/files.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o identifiers.o -MT identifiers.o -MD -MP -MF .deps/identifiers.Po ../.././libcpp/identifiers.c
    echo "#define LOCALEDIR \"/tools/share/locale\"" > localedir.new
    ../.././libcpp/../move-if-change localedir.new localedir.h
    echo timestamp > localedir.hs
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o init.o -MT init.o -MD -MP -MF .deps/init.Po ../.././libcpp/init.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o lex.o -MT lex.o -MD -MP -MF .deps/lex.Po ../.././libcpp/lex.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o line-map.o -MT line-map.o -MD -MP -MF .deps/line-map.Po ../.././libcpp/line-map.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o macro.o -MT macro.o -MD -MP -MF .deps/macro.Po ../.././libcpp/macro.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o mkdeps.o -MT mkdeps.o -MD -MP -MF .deps/mkdeps.Po ../.././libcpp/mkdeps.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o pch.o -MT pch.o -MD -MP -MF .deps/pch.Po ../.././libcpp/pch.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o symtab.o -MT symtab.o -MD -MP -MF .deps/symtab.Po ../.././libcpp/symtab.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o traditional.o -MT traditional.o -MD -MP -MF .deps/traditional.Po ../.././libcpp/traditional.c
    rm -f libcpp.a
    ar cru libcpp.a charset.o directives.o errors.o expr.o files.o identifiers.o init.o lex.o line-map.o macro.o mkdeps.o pch.o symtab.o traditional.o
    ranlib libcpp.a
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o makedepend.o -MT makedepend.o -MD -MP -MF .deps/makedepend.Po ../.././libcpp/makedepend.c
    gcc -g -O2 -o makedepend \
    makedepend.o libcpp.a ../libiberty/libiberty.a \

    make[1]: Leaving directory `/media/disk-1/tools/gcc-4.1.2/host-i686-pc-linux-gnu/libcpp'
    mkdir -p -- host-i686-pc-linux-gnu/gcc
    Configuring in host-i686-pc-linux-gnu/gcc
    configure: creating cache ./config.cache
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking LIBRARY_PATH variable... ok
    checking GCC_EXEC_PREFIX variable... ok
    checking whether to place generated files in the source directory... no
    checking whether a default linker was specified... no
    checking whether a default assembler was specified... no
    checking for i686-pc-linux-gnu-gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking whether gcc and cc understand -c and -o together... yes
    checking how to run the C preprocessor... gcc -E
    checking for inline... inline
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for void *... yes
    checking size of void *... 4
    checking for short... yes
    checking size of short... 2
    checking for int... yes
    checking size of int... 4
    checking for long... yes
    checking size of long... 4
    checking for long long... yes
    checking for long long... (cached) yes
    checking size of long long... 8
    checking for __int64... no
    checking whether gcc accepts -Wno-long-long... yes
    checking whether gcc accepts -Wno-variadic-macros... yes
    checking whether gcc accepts -Wold-style-definition... yes
    checking whether gcc accepts -Wmissing-format-attribute... yes
    checking valgrind.h usability... no
    checking valgrind.h presence... no
    checking for valgrind.h... no
    checking whether make sets $(MAKE)... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether ln -s works... yes
    checking whether ln works... yes
    checking for i686-pc-linux-gnu-ranlib... ranlib
    checking for a BSD compatible install... /usr/bin/install -c
    checking for cmp's capabilities... gnucompare
    checking for mktemp... yes
    checking for makeinfo... /tools/gcc-4.1.2/missing makeinfo
    checking for modern makeinfo... no
    configure: WARNING:
    *** Makeinfo is missing or too old.
    *** Info documentation will not be built.
    checking for recent Pod::Man... yes
    checking for flex... /tools/gcc-4.1.2/missing flex
    checking for bison... /tools/gcc-4.1.2/missing bison
    checking for nm... nm
    checking for ar... ar
    checking for GNU C library... yes
    checking for ANSI C header files... (cached) yes
    checking whether time.h and sys/time.h may both be included... yes
    checking whether string.h and strings.h may both be included... yes
    checking for sys/wait.h that is POSIX.1 compatible... yes
    checking for limits.h... yes
    checking for stddef.h... yes
    checking for string.h... (cached) yes
    checking for strings.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for time.h... yes
    checking for iconv.h... yes
    checking for fcntl.h... yes
    checking for unistd.h... (cached) yes
    checking for sys/file.h... yes
    checking for sys/time.h... yes
    checking for sys/mman.h... yes
    checking for sys/resource.h... yes
    checking for sys/param.h... yes
    checking for sys/times.h... yes
    checking for sys/stat.h... (cached) yes
    checking for direct.h... no
    checking for malloc.h... yes
    checking for langinfo.h... yes
    checking for ldfcn.h... no
    checking for locale.h... yes
    checking for wchar.h... yes
    checking for thread.h... no
    checking for pthread.h... yes
    checking for CHAR_BIT... yes
    checking whether byte ordering is bigendian... no
    checking for collect2 libraries... none required
    checking for library containing exc_resume... no
    checking for library containing ldexp... none required
    checking for inttypes.h... yes
    checking for times... yes
    checking for clock... yes
    checking for kill... yes
    checking for getrlimit... yes
    checking for setrlimit... yes
    checking for atoll... yes
    checking for atoq... no
    checking for sysconf... yes
    checking for strsignal... yes
    checking for getrusage... yes
    checking for nl_langinfo... yes
    checking for scandir... yes
    checking for alphasort... yes
    checking for gettimeofday... yes
    checking for mbstowcs... yes
    checking for wcswidth... yes
    checking for mmap... yes
    checking for mincore... yes
    checking for setlocale... yes
    checking for clearerr_unlocked... yes
    checking for feof_unlocked... yes
    checking for ferror_unlocked... yes
    checking for fflush_unlocked... yes
    checking for fgetc_unlocked... yes
    checking for fgets_unlocked... yes
    checking for fileno_unlocked... yes
    checking for fprintf_unlocked... no
    checking for fputc_unlocked... yes
    checking for fputs_unlocked... yes
    checking for fread_unlocked... yes
    checking for fwrite_unlocked... yes
    checking for getchar_unlocked... yes
    checking for getc_unlocked... yes
    checking for putchar_unlocked... yes
    checking for putc_unlocked... yes
    checking whether mbstowcs works... yes
    checking for ssize_t... yes
    checking for uid_t in sys/types.h... yes
    checking type of array argument to getgroups... gid_t
    checking for sys/mman.h... (cached) yes
    checking for mmap... (cached) yes
    checking whether read-only mmap of a plain file works... yes
    checking whether mmap from /dev/zero works... yes
    checking for MAP_ANON(YMOUS)... yes
    checking whether mmap with MAP_ANON(YMOUS) works... yes
    checking for pid_t... yes
    checking for unistd.h... (cached) yes
    checking for vfork.h... no
    checking for fork... yes
    checking for vfork... yes
    checking for working fork... yes
    checking for working vfork... (cached) yes
    checking for ld used by GCC... ld
    checking if the linker (ld) is GNU ld... yes
    checking for shared library run path origin... done
    checking for iconv... yes
    checking for iconv declaration...
    extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
    checking for LC_MESSAGES... yes
    checking for nl_langinfo and CODESET... yes
    checking whether getenv is declared... yes
    checking whether atol is declared... yes
    checking whether asprintf is declared... yes
    checking whether sbrk is declared... yes
    checking whether abort is declared... yes
    checking whether atof is declared... yes
    checking whether getcwd is declared... yes
    checking whether getwd is declared... yes
    checking whether strsignal is declared... yes
    checking whether strstr is declared... yes
    checking whether strverscmp is declared... yes
    checking whether errno is declared... yes
    checking whether snprintf is declared... yes
    checking whether vsnprintf is declared... yes
    checking whether vasprintf is declared... yes
    checking whether malloc is declared... yes
    checking whether realloc is declared... yes
    checking whether calloc is declared... yes
    checking whether free is declared... yes
    checking whether basename is declared... yes
    checking whether getopt is declared... no
    checking whether clock is declared... yes
    checking whether getpagesize is declared... yes
    checking whether clearerr_unlocked is declared... yes
    checking whether feof_unlocked is declared... yes
    checking whether ferror_unlocked is declared... yes
    checking whether fflush_unlocked is declared... yes
    checking whether fgetc_unlocked is declared... yes
    checking whether fgets_unlocked is declared... yes
    checking whether fileno_unlocked is declared... yes
    checking whether fprintf_unlocked is declared... no
    checking whether fputc_unlocked is declared... yes
    checking whether fputs_unlocked is declared... yes
    checking whether fread_unlocked is declared... yes
    checking whether fwrite_unlocked is declared... yes
    checking whether getchar_unlocked is declared... yes
    checking whether getc_unlocked is declared... yes
    checking whether putchar_unlocked is declared... yes
    checking whether putc_unlocked is declared... yes
    checking whether getrlimit is declared... yes
    checking whether setrlimit is declared... yes
    checking whether getrusage is declared... yes
    checking whether ldgetname is declared... no
    checking whether times is declared... yes
    checking for struct tms... yes
    checking for clock_t... yes
    checking for .preinit_array/.init_array/.fini_array support... yes
    checking if mkdir takes one argument... no
    Using `../.././gcc/config/i386/i386.c' for machine-specific logic.
    Using `../.././gcc/config/i386/i386.md' as machine description file.
    Using the following target machine macro files:
    ../.././gcc/config/i386/i386.h
    ../.././gcc/config/i386/unix.h
    ../.././gcc/config/i386/att.h
    ../.././gcc/config/dbxelf.h
    ../.././gcc/config/elfos.h
    ../.././gcc/config/svr4.h
    ../.././gcc/config/linux.h
    ../.././gcc/config/i386/linux.h
    Using host-linux.o for host machine hooks.
    checking whether NLS is requested... no
    checking what assembler to use... /usr/bin/as
    checking what linker to use... /usr/bin/ld
    checking what nm to use... /usr/bin/nm
    checking what objdump to use... /usr/bin/objdump
    checking assembler for .balign and .p2align... yes
    checking assembler for .p2align with maximum skip... yes
    checking assembler for working .subsection -1... yes
    checking assembler for .weak... yes
    checking assembler for .weakref... yes
    checking assembler for .nsubspa comdat... no
    checking assembler for .hidden... yes
    checking linker for .hidden support... yes
    checking assembler for .sleb128 and .uleb128... test: 14236: assembler: unexpected operator
    yes
    checking assembler for eh_frame optimization... buggy
    checking assembler for section merging support... yes
    checking assembler for COMDAT group support... yes
    checking assembler for thread-local storage support... yes
    checking linker -Bstatic/-Bdynamic option... yes
    checking assembler for filds and fists mnemonics... yes
    checking assembler for cmov syntax... no
    checking assembler for GOTOFF in data... yes
    checking assembler for dwarf2 debug_line support... yes
    checking assembler for buggy dwarf2 .file directive... no
    checking assembler for --gdwarf2 option... yes
    checking assembler for --gstabs option... yes
    checking linker read-only and read-write section mixing... read-write
    checking linker PT_GNU_EH_FRAME support... yes
    checking linker position independent executable support... yes
    checking linker --as-needed support... yes
    checking linker --sysroot support... yes
    checking __stack_chk_fail in target GNU C library... yes
    Using ggc-page for garbage collection.
    checking whether to enable maintainer-specific portions of Makefiles... no
    Links are now set up to build a native compiler for i686-pc-linux-gnu.
    updating cache ./config.cache
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating gccbug
    config.status: creating mklibgcc
    config.status: creating libada-mk
    config.status: creating auto-host.h
    config.status: executing default commands
    Bootstrapping the compiler
    make[1]: Entering directory `/media/disk-1/tools/gcc-4.1.2/gcc'
    make[1]: *** No rule to make target `bootstrap'. Stop.
    make[1]: Leaving directory `/media/disk-1/tools/gcc-4.1.2/gcc'
    make: *** [bootstrap] Error 2
    Comunque, sembra che non riesca a entrare nella cartella fixincludes, perché questa si trova nella cartella principale. Che faccio?

  15. #15
    gommosgol
    Ospite
    Citazione Nightshroud Visualizza Messaggio
    Ecco:
    Spoiler:
    -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -fpic ../.././libiberty/xatexit.c -o pic/xatexit.o; \
    else true; fi
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../.././libiberty/xatexit.c -o xatexit.o
    if [ x"-fpic" != x ]; then \
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -fpic ../.././libiberty/xexit.c -o pic/xexit.o; \
    else true; fi
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../.././libiberty/xexit.c -o xexit.o
    if [ x"-fpic" != x ]; then \
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -fpic ../.././libiberty/xmalloc.c -o pic/xmalloc.o; \
    else true; fi
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../.././libiberty/xmalloc.c -o xmalloc.o
    if [ x"-fpic" != x ]; then \
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -fpic ../.././libiberty/xmemdup.c -o pic/xmemdup.o; \
    else true; fi
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../.././libiberty/xmemdup.c -o xmemdup.o
    if [ x"-fpic" != x ]; then \
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -fpic ../.././libiberty/xstrdup.c -o pic/xstrdup.o; \
    else true; fi
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../.././libiberty/xstrdup.c -o xstrdup.o
    if [ x"-fpic" != x ]; then \
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -fpic ../.././libiberty/xstrerror.c -o pic/xstrerror.o; \
    else true; fi
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../.././libiberty/xstrerror.c -o xstrerror.o
    if [ x"-fpic" != x ]; then \
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -fpic ../.././libiberty/xstrndup.c -o pic/xstrndup.o; \
    else true; fi
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../.././libiberty/xstrndup.c -o xstrndup.o
    if [ x"-fpic" != x ]; then \
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -fpic ../.././libiberty/mkstemps.c -o pic/mkstemps.o; \
    else true; fi
    gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../.././libiberty/mkstemps.c -o mkstemps.o
    rm -f ./libiberty.a pic/./libiberty.a
    ar rc ./libiberty.a \
    ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./mkstemps.o
    ranlib ./libiberty.a
    if [ x"-fpic" != x ]; then \
    cd pic; \
    ar rc ./libiberty.a \
    ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./mkstemps.o; \
    ranlib ./libiberty.a; \
    cd ..; \
    else true; fi
    rm -f needed-list; touch needed-list; \
    for f in atexit calloc memchr memcmp memcpy memmove memset rename strchr strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf vfork waitpid bcmp bcopy bzero; do \
    for g in ./mkstemps.o ; do \
    case "$g" in \
    *$f*) echo $g >> needed-list ;; \
    esac; \
    done; \
    done
    echo ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o > required-list
    make[2]: Entering directory `/media/disk-1/tools/gcc-4.1.2/host-i686-pc-linux-gnu/libiberty/testsuite'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/media/disk-1/tools/gcc-4.1.2/host-i686-pc-linux-gnu/libiberty/testsuite'
    make[1]: Leaving directory `/media/disk-1/tools/gcc-4.1.2/host-i686-pc-linux-gnu/libiberty'
    make[1]: Entering directory `/media/disk-1/tools/gcc-4.1.2/host-i686-pc-linux-gnu/libcpp'
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o charset.o -MT charset.o -MD -MP -MF .deps/charset.Po ../.././libcpp/charset.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o directives.o -MT directives.o -MD -MP -MF .deps/directives.Po ../.././libcpp/directives.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o errors.o -MT errors.o -MD -MP -MF .deps/errors.Po ../.././libcpp/errors.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o expr.o -MT expr.o -MD -MP -MF .deps/expr.Po ../.././libcpp/expr.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o files.o -MT files.o -MD -MP -MF .deps/files.Po ../.././libcpp/files.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o identifiers.o -MT identifiers.o -MD -MP -MF .deps/identifiers.Po ../.././libcpp/identifiers.c
    echo "#define LOCALEDIR \"/tools/share/locale\"" > localedir.new
    ../.././libcpp/../move-if-change localedir.new localedir.h
    echo timestamp > localedir.hs
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o init.o -MT init.o -MD -MP -MF .deps/init.Po ../.././libcpp/init.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o lex.o -MT lex.o -MD -MP -MF .deps/lex.Po ../.././libcpp/lex.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o line-map.o -MT line-map.o -MD -MP -MF .deps/line-map.Po ../.././libcpp/line-map.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o macro.o -MT macro.o -MD -MP -MF .deps/macro.Po ../.././libcpp/macro.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o mkdeps.o -MT mkdeps.o -MD -MP -MF .deps/mkdeps.Po ../.././libcpp/mkdeps.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o pch.o -MT pch.o -MD -MP -MF .deps/pch.Po ../.././libcpp/pch.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o symtab.o -MT symtab.o -MD -MP -MF .deps/symtab.Po ../.././libcpp/symtab.c
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o traditional.o -MT traditional.o -MD -MP -MF .deps/traditional.Po ../.././libcpp/traditional.c
    rm -f libcpp.a
    ar cru libcpp.a charset.o directives.o errors.o expr.o files.o identifiers.o init.o lex.o line-map.o macro.o mkdeps.o pch.o symtab.o traditional.o
    ranlib libcpp.a
    gcc -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o makedepend.o -MT makedepend.o -MD -MP -MF .deps/makedepend.Po ../.././libcpp/makedepend.c
    gcc -g -O2 -o makedepend \
    makedepend.o libcpp.a ../libiberty/libiberty.a \

    make[1]: Leaving directory `/media/disk-1/tools/gcc-4.1.2/host-i686-pc-linux-gnu/libcpp'
    mkdir -p -- host-i686-pc-linux-gnu/gcc
    Configuring in host-i686-pc-linux-gnu/gcc
    configure: creating cache ./config.cache
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking LIBRARY_PATH variable... ok
    checking GCC_EXEC_PREFIX variable... ok
    checking whether to place generated files in the source directory... no
    checking whether a default linker was specified... no
    checking whether a default assembler was specified... no
    checking for i686-pc-linux-gnu-gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking whether gcc and cc understand -c and -o together... yes
    checking how to run the C preprocessor... gcc -E
    checking for inline... inline
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for void *... yes
    checking size of void *... 4
    checking for short... yes
    checking size of short... 2
    checking for int... yes
    checking size of int... 4
    checking for long... yes
    checking size of long... 4
    checking for long long... yes
    checking for long long... (cached) yes
    checking size of long long... 8
    checking for __int64... no
    checking whether gcc accepts -Wno-long-long... yes
    checking whether gcc accepts -Wno-variadic-macros... yes
    checking whether gcc accepts -Wold-style-definition... yes
    checking whether gcc accepts -Wmissing-format-attribute... yes
    checking valgrind.h usability... no
    checking valgrind.h presence... no
    checking for valgrind.h... no
    checking whether make sets $(MAKE)... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether ln -s works... yes
    checking whether ln works... yes
    checking for i686-pc-linux-gnu-ranlib... ranlib
    checking for a BSD compatible install... /usr/bin/install -c
    checking for cmp's capabilities... gnucompare
    checking for mktemp... yes
    checking for makeinfo... /tools/gcc-4.1.2/missing makeinfo
    checking for modern makeinfo... no
    configure: WARNING:
    *** Makeinfo is missing or too old.
    *** Info documentation will not be built.
    checking for recent Pod::Man... yes
    checking for flex... /tools/gcc-4.1.2/missing flex
    checking for bison... /tools/gcc-4.1.2/missing bison
    checking for nm... nm
    checking for ar... ar
    checking for GNU C library... yes
    checking for ANSI C header files... (cached) yes
    checking whether time.h and sys/time.h may both be included... yes
    checking whether string.h and strings.h may both be included... yes
    checking for sys/wait.h that is POSIX.1 compatible... yes
    checking for limits.h... yes
    checking for stddef.h... yes
    checking for string.h... (cached) yes
    checking for strings.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for time.h... yes
    checking for iconv.h... yes
    checking for fcntl.h... yes
    checking for unistd.h... (cached) yes
    checking for sys/file.h... yes
    checking for sys/time.h... yes
    checking for sys/mman.h... yes
    checking for sys/resource.h... yes
    checking for sys/param.h... yes
    checking for sys/times.h... yes
    checking for sys/stat.h... (cached) yes
    checking for direct.h... no
    checking for malloc.h... yes
    checking for langinfo.h... yes
    checking for ldfcn.h... no
    checking for locale.h... yes
    checking for wchar.h... yes
    checking for thread.h... no
    checking for pthread.h... yes
    checking for CHAR_BIT... yes
    checking whether byte ordering is bigendian... no
    checking for collect2 libraries... none required
    checking for library containing exc_resume... no
    checking for library containing ldexp... none required
    checking for inttypes.h... yes
    checking for times... yes
    checking for clock... yes
    checking for kill... yes
    checking for getrlimit... yes
    checking for setrlimit... yes
    checking for atoll... yes
    checking for atoq... no
    checking for sysconf... yes
    checking for strsignal... yes
    checking for getrusage... yes
    checking for nl_langinfo... yes
    checking for scandir... yes
    checking for alphasort... yes
    checking for gettimeofday... yes
    checking for mbstowcs... yes
    checking for wcswidth... yes
    checking for mmap... yes
    checking for mincore... yes
    checking for setlocale... yes
    checking for clearerr_unlocked... yes
    checking for feof_unlocked... yes
    checking for ferror_unlocked... yes
    checking for fflush_unlocked... yes
    checking for fgetc_unlocked... yes
    checking for fgets_unlocked... yes
    checking for fileno_unlocked... yes
    checking for fprintf_unlocked... no
    checking for fputc_unlocked... yes
    checking for fputs_unlocked... yes
    checking for fread_unlocked... yes
    checking for fwrite_unlocked... yes
    checking for getchar_unlocked... yes
    checking for getc_unlocked... yes
    checking for putchar_unlocked... yes
    checking for putc_unlocked... yes
    checking whether mbstowcs works... yes
    checking for ssize_t... yes
    checking for uid_t in sys/types.h... yes
    checking type of array argument to getgroups... gid_t
    checking for sys/mman.h... (cached) yes
    checking for mmap... (cached) yes
    checking whether read-only mmap of a plain file works... yes
    checking whether mmap from /dev/zero works... yes
    checking for MAP_ANON(YMOUS)... yes
    checking whether mmap with MAP_ANON(YMOUS) works... yes
    checking for pid_t... yes
    checking for unistd.h... (cached) yes
    checking for vfork.h... no
    checking for fork... yes
    checking for vfork... yes
    checking for working fork... yes
    checking for working vfork... (cached) yes
    checking for ld used by GCC... ld
    checking if the linker (ld) is GNU ld... yes
    checking for shared library run path origin... done
    checking for iconv... yes
    checking for iconv declaration...
    extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
    checking for LC_MESSAGES... yes
    checking for nl_langinfo and CODESET... yes
    checking whether getenv is declared... yes
    checking whether atol is declared... yes
    checking whether asprintf is declared... yes
    checking whether sbrk is declared... yes
    checking whether abort is declared... yes
    checking whether atof is declared... yes
    checking whether getcwd is declared... yes
    checking whether getwd is declared... yes
    checking whether strsignal is declared... yes
    checking whether strstr is declared... yes
    checking whether strverscmp is declared... yes
    checking whether errno is declared... yes
    checking whether snprintf is declared... yes
    checking whether vsnprintf is declared... yes
    checking whether vasprintf is declared... yes
    checking whether malloc is declared... yes
    checking whether realloc is declared... yes
    checking whether calloc is declared... yes
    checking whether free is declared... yes
    checking whether basename is declared... yes
    checking whether getopt is declared... no
    checking whether clock is declared... yes
    checking whether getpagesize is declared... yes
    checking whether clearerr_unlocked is declared... yes
    checking whether feof_unlocked is declared... yes
    checking whether ferror_unlocked is declared... yes
    checking whether fflush_unlocked is declared... yes
    checking whether fgetc_unlocked is declared... yes
    checking whether fgets_unlocked is declared... yes
    checking whether fileno_unlocked is declared... yes
    checking whether fprintf_unlocked is declared... no
    checking whether fputc_unlocked is declared... yes
    checking whether fputs_unlocked is declared... yes
    checking whether fread_unlocked is declared... yes
    checking whether fwrite_unlocked is declared... yes
    checking whether getchar_unlocked is declared... yes
    checking whether getc_unlocked is declared... yes
    checking whether putchar_unlocked is declared... yes
    checking whether putc_unlocked is declared... yes
    checking whether getrlimit is declared... yes
    checking whether setrlimit is declared... yes
    checking whether getrusage is declared... yes
    checking whether ldgetname is declared... no
    checking whether times is declared... yes
    checking for struct tms... yes
    checking for clock_t... yes
    checking for .preinit_array/.init_array/.fini_array support... yes
    checking if mkdir takes one argument... no
    Using `../.././gcc/config/i386/i386.c' for machine-specific logic.
    Using `../.././gcc/config/i386/i386.md' as machine description file.
    Using the following target machine macro files:
    ../.././gcc/config/i386/i386.h
    ../.././gcc/config/i386/unix.h
    ../.././gcc/config/i386/att.h
    ../.././gcc/config/dbxelf.h
    ../.././gcc/config/elfos.h
    ../.././gcc/config/svr4.h
    ../.././gcc/config/linux.h
    ../.././gcc/config/i386/linux.h
    Using host-linux.o for host machine hooks.
    checking whether NLS is requested... no
    checking what assembler to use... /usr/bin/as
    checking what linker to use... /usr/bin/ld
    checking what nm to use... /usr/bin/nm
    checking what objdump to use... /usr/bin/objdump
    checking assembler for .balign and .p2align... yes
    checking assembler for .p2align with maximum skip... yes
    checking assembler for working .subsection -1... yes
    checking assembler for .weak... yes
    checking assembler for .weakref... yes
    checking assembler for .nsubspa comdat... no
    checking assembler for .hidden... yes
    checking linker for .hidden support... yes
    checking assembler for .sleb128 and .uleb128... test: 14236: assembler: unexpected operator
    yes
    checking assembler for eh_frame optimization... buggy
    checking assembler for section merging support... yes
    checking assembler for COMDAT group support... yes
    checking assembler for thread-local storage support... yes
    checking linker -Bstatic/-Bdynamic option... yes
    checking assembler for filds and fists mnemonics... yes
    checking assembler for cmov syntax... no
    checking assembler for GOTOFF in data... yes
    checking assembler for dwarf2 debug_line support... yes
    checking assembler for buggy dwarf2 .file directive... no
    checking assembler for --gdwarf2 option... yes
    checking assembler for --gstabs option... yes
    checking linker read-only and read-write section mixing... read-write
    checking linker PT_GNU_EH_FRAME support... yes
    checking linker position independent executable support... yes
    checking linker --as-needed support... yes
    checking linker --sysroot support... yes
    checking __stack_chk_fail in target GNU C library... yes
    Using ggc-page for garbage collection.
    checking whether to enable maintainer-specific portions of Makefiles... no
    Links are now set up to build a native compiler for i686-pc-linux-gnu.
    updating cache ./config.cache
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating gccbug
    config.status: creating mklibgcc
    config.status: creating libada-mk
    config.status: creating auto-host.h
    config.status: executing default commands
    Bootstrapping the compiler
    make[1]: Entering directory `/media/disk-1/tools/gcc-4.1.2/gcc'
    make[1]: *** No rule to make target `bootstrap'. Stop.
    make[1]: Leaving directory `/media/disk-1/tools/gcc-4.1.2/gcc'
    make: *** [bootstrap] Error 2
    Comunque, sembra che non riesca a entrare nella cartella fixincludes, perché questa si trova nella cartella principale. Che faccio?
    Compilare in tools è buggoso, a me le glibc non compilavano per questo. Sposta tutto in source e riprendi.

Pag 1 di 6 1234 ... UltimoUltimo

Regole di Scrittura

  • Tu non puoi inviare nuove discussioni
  • Tu non puoi inviare risposte
  • Tu non puoi inviare allegati
  • Tu non puoi modificare i tuoi messaggi
  •