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.
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.