473,397 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Help me to compile gcc

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.
Nov 14 '05 #1
1 2209

"Ardhendu Nandan" <ar*************@rediffmail.com> wrote in message
news:41**************************@posting.google.c om...
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.
Nov 14 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Dave | last post by:
After following Microsofts admonition to reformat my system before doing a final compilation of my app I got many warnings/errors upon compiling an rtf file created in word. I used the Help...
5
by: xuatla | last post by:
Hi, I encountered the following compile error of c++ and hope to get your help. test2.cpp: In member function `CTest CTest::operator+=(CTest&)': test2.cpp:79: error: no match for 'operator='...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
2
by: bradleyp | last post by:
Hi all, Hopefully somebody can help. In Access 2002-SP2, I receive an error from the VB Editor if I try to compile the following code (see below). The error is as follows: Compile Error:...
4
by: Chronologic | last post by:
All, I have an issue I would like some expert help on. I understand, or so I believe, that C# does not support the concept of a "compile time macro". At least not in the sense I'm looking...
4
by: livin | last post by:
my log... INFO urllib.urlopen('http://192.168.1.11/hact/kitchen.asp', urllib.urlencode({'Action': 'hs.ExecX10ByName+Kitchen+Lights%2C+On %2C+100&x=4&y=6'})) INFO INFO File...
2
by: MLH | last post by:
I did these 4 steps to create a topic file 1 Open a new file in a word processor or text editor that can handle rich text format. 2 Write your individual topics, separating each topic with a...
1
by: Rahul | last post by:
Hi Everybody I have some problem in my script. please help me. This is script file. I have one *.inq file. I want run this script in XML files. But this script errors shows . If u want i am...
17
by: Nirjhar Oberoi | last post by:
Hi, I am new to Linux and wanted to know how to use GCC to Compile the Code written in C? I dont want to use EMacs or VI for my editor. Can you suggest a good IDE for linux for C Programming.. ...
2
by: Smokey Grindel | last post by:
In MCF apps we get a help section of our application solution which holds HTML documents and the Help Workshop HPP files that compile every time you build your app... is there anyway to do this in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.