Compilação Classpath 0.99

1. Compilação Classpath 0.99

Bruno Belarmino de Queiroz
bbruno5

(usa Ubuntu)

Enviado em 22/08/2013 - 19:00h

Olá a todos. Estou tentando compilar o classpath versão 0.99 para uma distro Linux de nome OpenDingux. Já fiz outras compilações semelhantes que usam o arquivo configure e tudo correu bem. Nesta porém eu defino o compilador gcc, o configure encontra, mas dá o seguinte erro no terminal:

checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/home/bruno/Downloads/classpath-0.99':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

Olhando o arquivo config.log está lá o seguinte erro:

configure:4217: $? = 0
configure:4206: /opt/gcw0-toolchain/usr/bin/mipsel-gcw0-linux-uclibc-gcc -V >&5
mipsel-gcw0-linux-uclibc-gcc: error: unrecognized command line option '-V'
mipsel-gcw0-linux-uclibc-gcc: fatal error: no input files
compilation terminated.
configure:4217: $? = 1
configure:4206: /opt/gcw0-toolchain/usr/bin/mipsel-gcw0-linux-uclibc-gcc -qversion >&5
mipsel-gcw0-linux-uclibc-gcc: error: unrecognized command line option '-qversion'
mipsel-gcw0-linux-uclibc-gcc: fatal error: no input files
compilation terminated.
configure:4217: $? = 1
configure:4237: checking whether the C compiler works
configure:4259: /opt/gcw0-toolchain/usr/bin/mipsel-gcw0-linux-uclibc-gcc -Os -fPIC -g -mips32 -mtune=mips32 -mno-mips16 -mbranch-likely -pipe -G0 -fno-common -fpeel-loops -L/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/lib conftest.c >&5
configure:4263: $? = 0
configure:4311: result: yes
configure:4314: checking for C compiler default output file name
configure:4316: result: a.out
configure:4322: checking for suffix of executables
configure:4329: /opt/gcw0-toolchain/usr/bin/mipsel-gcw0-linux-uclibc-gcc -o conftest -Os -fPIC -g -mips32 -mtune=mips32 -mno-mips16 -mbranch-likely -pipe -G0 -fno-common -fpeel-loops -L/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/lib conftest.c >&5
configure:4333: $? = 0
configure:4355: result:
configure:4377: checking whether we are cross compiling
configure:4385: /opt/gcw0-toolchain/usr/bin/mipsel-gcw0-linux-uclibc-gcc -o conftest -Os -fPIC -g -mips32 -mtune=mips32 -mno-mips16 -mbranch-likely -pipe -G0 -fno-common -fpeel-loops -L/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/lib conftest.c >&5
configure:4389: $? = 0
configure:4396: ./conftest
./configure: line 4398: ./conftest: cannot execute binary file
configure:4400: $? = 126
configure:4407: error: in `/home/bruno/Downloads/classpath-0.99':
configure:4409: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

Será que alguém pode me ajudar com isso? Aparentemente é um problema de compatibilidade de comandos, mas não sei como resolvê-los. Aguardo respostas. Obrigado desde já.


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts