This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hello,
Any one can help me???
after a basic install of REdHat-6.0, i compile the binutils with
egcs-1.1.2...
after that i tryied to compile simple helloworld.c... all fine!!!
but after compile and install gcc-2.95.1 , and compile _again_ (yes, i
love compilations act!! 8P) binutils..
_all_ programs _stop_ to compile...
and a simple program hello.c dont works!!! i got:
[root@melissa update]# gcc -o hello hello.c
/tmp/ccosLeN3.s: Assembler messages:
/tmp/ccosLeN3.s:16: Error: Cannot represent relocation type BFD_RELOC_32
/tmp/ccosLeN3.s:25: Internal error!
Assertion failure in tc_gen_reloc at ./config/tc-i386.c line 3502.
Please report this bug.
the program:
---hello.c-----
main() {
printf("Hello World!\n");
}
----hello.c-----
my procedure:
install redhat: (basic instalations)
compile binutils:
> export CC=gcc
> export CFLAGS="-O9 -mpentium"
>./configure --prefix=/usr
>make
>rpm -e binutils-xxxxx
>cp binutils/ranlib /usr/bin/ # the binutils installation needed your own ranlib to install!!!
>make install
test hello.c
>gcc -o hello hello.c
>./hello
Hello World!
>
After That:
compile gcc-2.95.1:
>./configure --enable-haifa --enable-threads --enable-shared --enable-cpp --enable-cpplib --prefix=/usr
>make bootstrap
>make install
test hello.c
>gcc -o hello hello.c
>./hello
Hello World!
>
and bintuils:
> export CC=gcc
> export CFLAGS="-O9 -march=k6"
>./configure --prefix=/usr
>make
>make install
>gcc -o hello hello.c
[root@melissa update]# gcc -o hello hello.c
/tmp/ccosLeN3.s: Assembler messages:
/tmp/ccosLeN3.s:16: Error: Cannot represent relocation type BFD_RELOC_32
/tmp/ccosLeN3.s:25: Internal error!
Assertion failure in tc_gen_reloc at ./config/tc-i386.c line 3502.
Please report this bug.
another programs stop to compile to..(apache, own binutils, anythink...)
Regard,
T+
Leo
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |