On Sat, Nov 20, 2010 at 8:05 PM, Guilherme Lima <[email protected]> wrote:
> Pessoal,
>
> Estou tendo um erro ao compilar gcc com --enable-multilib:
>
> # mkdir gcc-build && cd gcc-build
> # ../configure \
>      --prefix=/usr \
>      --libdir=/usr/lib64 \
>      --enable-shared \
>      --enable-bootstrap \
>      --enable-languages=all \
>      --enable-threads=posix \
>      --enable-checking=release \
>      --with-system-zlib \
>      --with-python-dir=/lib64/python2.6/site-packages \
>      --disable-libunwind-exceptions \
>      --enable-__cxa_atexit \
>      --enable-libssp \
>      --with-gnu-ld \
>      --verbose \
>      --enable-multilib \
>      --target=x86_64-slackware-linux \
>      --build=x86_64-slackware-linux \
>      --host=x86_64-slackware-linux
>
> # make -j 4
> ...
> config.status: creating ada/Makefile
> config.status: creating auto-host.h
> config.status: executing default commands
> make[2]: Leaving directory `/tmp/pQ/gcc.build.lnx'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory `/tmp/pQ/gcc.build.lnx'
> make: *** [all] Error 2
>
> **********
>
> Estou usando slackware64-13.1
>
> alguém sabe como resolver isto?
>
> Obrigado
>
> =)

Até onde eu sei, tu não pode usar o gcc que vem com o slackware para
isso, tem que fazer um bootstrap antes e ai usar o gcc "bootstrapado"
p/ compilar o novo com multilib.

Olha o CLFS [1], mais especificamente, o capítulo 5.


1 - http://cross-lfs.org/view/1.1.0/x86_64/

-- 
GUS-BR - Grupo de Usuários de Slackware Brasil
http://www.slackwarebrasil.org/
http://groups.google.com/group/slack-users-br

Antes de perguntar:
http://www.istf.com.br/perguntas/

Para sair da lista envie um e-mail para:
[email protected]

Responder a