Help me to compile gcc

A

Ardhendu Nandan

Hi,
Still I haven’t solved this problem. Below I am mentioning
all the details which I have done to solve the problem
First-
Bison 1.35
Configuration-Ok (No Error)
Make-(Error)- in localename.c-line no 630-commented
this line then it’s

working properly.

Make install-Ok (No Error) .
Second-
Binutils-2.10.1
Configuration –Ok (No Error).
Make-Ok (No Error).
Make install-Ok (No Error)
Third-
Symbolic link-GCC2.95 & Newlib-1.12.0
ln -s /root/newgnu/newlib-1.9.0/newlib newlib
ln -s /root/newgnu/newlib-1.9.0/libgloss libgloss
Fourth-
GCC-2.95
Configuration –Ok (No Error).
Make Install-Error in gcc-2.95/gcc/callect2.c

gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -DHAVE_CONFIG_H -I. -I.
-I./confi g -I./../include underscore.c
rm -f collect2.exe
gcc -DCROSS_COMPILE -DIN_GCC -g -O2 -DHAVE_CONFIG_H -o
collect2.exe collec t2.o tlink.o hash.o intl.o
underscore.o version.o obstack.o -ladvapi32 ..
/libiberty/libiberty.a
collect2.o(.text+0x2a9): In function `handler':
C:/msys/home/newgcc/gcc-2.95/gcc/collect2.c:526: undefined reference
to `kill'
collect2.o(.text+0x3795): In function `scan_prog_file':
C:/msys/home/newgcc/gcc-2.95/gcc/collect2.c:2265: undefined reference
to `pipe'
collect2.o(.text+0x3834):C:/msys/home/newgcc/gcc-2.95/gcc/collect2.c:2288:
undef ined reference to `fork'
make[1]: *** [collect2.exe] Error 1
make[1]: Leaving directory `/home/newgcc/gcc-2.95/gcc'
make: *** [all-gcc] Error 2

if I ignore this error using- make
all install –i –k option then it’s ok and generating
all the .exe file but while compiling an application program
I am gaiting this error-



_udivsi3
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s: Assembler messages:
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:2: Error: invalid
character '@' in mnemonic
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:3: Error: invalid
character '@' in mnemonic
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:72: Error: no such
instruction: `d ividend .req r0'
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:73: Error: no such
instruction: `d ivisor .req r1'
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:74: Error: no such
instruction: `r esult .req r2'
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:75: Error: no such
instruction: `c urbit .req r3'
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:76: Error: no such
instruction: `i p .req r12'
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:77: Error: no such
instruction: `s p .req r13'
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:78: Error: no such
instruction: `l r .req r14'
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:79: Error: no such
instruction: `p c .req r15'
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:83: Warning: .type
pseudo-op used outside of .def/.endef ignored.
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:83: Warning: rest of
line ignored; first ignored character is `_'
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:87: Error: expecting
operand after ','; got nothing
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:88: Error: no such
instruction: `b eq Ldiv0'
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:89: Error: expecting
operand after ','; got nothing
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:90: Error: expecting
operand after ','; got nothing
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:91: Error: too many
memory referen ces for `cmp'
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:92: Error: no such
instruction: `b cc Lgot_result'
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:94: Error: invalid
character '@' i n mnemonic
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp\ccUbaaaa.s:95: Error: invalid
character '@' i n mnem

If anyone know the solution please help me .

Thank you.
 
T

Tim Prince

Ardhendu Nandan said:
Hi,
Still I haven’t solved this problem. Below I am mentioning
all the details which I have done to solve the problem
Bison 1.35
Binutils-2.10.1
Symbolic link-GCC2.95 & Newlib-1.12.0
GCC-2.95
Configuration –Ok (No Error).
Make Install-Error in gcc-2.95/gcc/callect2.c

If anyone know the solution please help me .
This is an odd combination of obsolete versions. You would be unlikely to
be able to get help, even on the relevant mailing lists, unless you picked
supported versions, or at least a combination known to work on whatever
platform you have chosen.
http://gcc.gnu.org/ml/gcc-help/ has an archive which probably contains
answers to questions as close as yours as are possible to answer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top