* cannot exec cpp0
@ 2001-07-28 9:02 Sebastian Kwiatkowski
2001-07-30 14:20 ` Alexandre Oliva
0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Kwiatkowski @ 2001-07-28 9:02 UTC (permalink / raw)
To: gcc-help
Hi,
I'm trying to upgrade egcs-1.1.2 to gcc 2.95.3 on a RedHat 6.2 box.
After installing it, I get (building anything):
gcc: installation problem, cannot exec `cpp0': No such file or directory
But actually cpp0 exists in /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3
Could this problem have something to do with the conten of the following
extract of the build log?
---
mv: s-crt: No such file or directory
mv: s-crt0: No such file or directory
mv: crtbegin.o: No such file or directory
mv: crtbeginS.o: No such file or directory
mv: crtend.o: No such file or directory
mv: crtendS.o: No such file or directory
mv: gcc-cross: No such file or directory
mv: cc1obj: No such file or directory
mv: enquire: No such file or directory
mv: protoize: No such file or directory
mv: unprotoize: No such file or directory
mv: collect2: No such file or directory
mv: gcov: No such file or directory
mv: *.bp: No such file or directory
mv: *.greg: No such file or directory
mv: *.lreg: No such file or directory
mv: *.combine: No such file or directory
mv: *.flow: No such file or directory
mv: *.cse: No such file or directory
mv: *.jump: No such file or directory
mv: *.rtl: No such file or directory
mv: *.tree: No such file or directory
mv: *.loop: No such file or directory
mv: *.dbr: No such file or directory
mv: *.jump2: No such file or directory
mv: *.sched: No such file or directory
mv: *.cse2: No such file or directory
mv: *.sched2: No such file or directory
mv: *.stack: No such file or directory
mv: *.gcse: No such file or directory
mv: *.flow2: No such file or directory
mv: *.[si]: No such file or directory
mv: libcpp.a: No such file or directory
mv: g++-cross: No such file or directory
mv: cc1plus: No such file or directory
make[2]: [stage1-start] Error 1 (ignored)
mv intl/*.o stage1/intl
mv: intl/*.o: No such file or directory
make[2]: [stage1-start] Error 1 (ignored)
if [ -f as ] ; then ln -s ../as stage1 ; else true ; fi
if [ -f ld ] ; then ln -s ../ld stage1 ; else true ; fi
if [ -f collect-ld ] ; then ln -s ../collect-ld stage1 ; else true ; fi
rm -f stage1/libgcc.a
cp libgcc.a stage1
if [ -f ranlib ] || ( [ "i686-pc-linux-gnu" = "i686-pc-linux-gnu" ] && [
-f /usr/bin/ranlib -o -f /bin/ranlib ] ) ; then \
ranlib stage1/libgcc.a; \
else true; fi
for f in .. ; do if [ x${f} != x.. ]; then \
cp stage1/${f} . ; \
else true; \
fi; done
mv cp/*.o stage1/cp
mv: cp/*.o: No such file or directory
make[2]: [c++.stage1] Error 1 (ignored)
...
mv: s-crt: No such file or directory
mv: s-crt0: No such file or directory
mv: crtbegin.o: No such file or directory
mv: crtbeginS.o: No such file or directory
mv: crtend.o: No such file or directory
mv: crtendS.o: No such file or directory
mv: gcc-cross: No such file or directory
mv: cc1obj: No such file or directory
mv: enquire: No such file or directory
mv: collect2: No such file or directory
mv: *.bp: No such file or directory
mv: *.greg: No such file or directory
mv: *.lreg: No such file or directory
mv: *.combine: No such file or directory
mv: *.flow: No such file or directory
mv: *.cse: No such file or directory
mv: *.jump: No such file or directory
mv: *.rtl: No such file or directory
mv: *.tree: No such file or directory
mv: *.loop: No such file or directory
mv: *.dbr: No such file or directory
mv: *.jump2: No such file or directory
mv: *.sched: No such file or directory
mv: *.cse2: No such file or directory
mv: *.sched2: No such file or directory
mv: *.stack: No such file or directory
mv: *.gcse: No such file or directory
mv: *.flow2: No such file or directory
mv: *.[si]: No such file or directory
mv: libcpp.a: No such file or directory
mv: g++-cross: No such file or directory
make[2]: [stage2-start] Error 1 (ignored)
mv intl/*.o stage2/intl
mv: intl/*.o: No such file or directory
make[2]: [stage2-start] Error 1 (ignored)
---
I appreciate any help. Thanks in advance!
Sebastian Kwiatkowski
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cannot exec cpp0
2001-07-28 9:02 cannot exec cpp0 Sebastian Kwiatkowski
@ 2001-07-30 14:20 ` Alexandre Oliva
0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Oliva @ 2001-07-30 14:20 UTC (permalink / raw)
To: Sebastian Kwiatkowski; +Cc: gcc-help
On Jul 28, 2001, s.kwiatkowski@t-online.de (Sebastian Kwiatkowski) wrote:
> After installing it, I get (building anything):
> gcc: installation problem, cannot exec `cpp0': No such file or directory
> But actually cpp0 exists in /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3
Did you configure GCC with --prefix=/usr ? If not, you'll have to
rebuild.
> Could this problem have something to do with the conten of the
> following extract of the build log?
Nope, these errors at the end of a stage are normal: in general, only
the C compiler is build in stage 1, but the staging process tries to
move everything into the stage1 sub-directory in case one had run
`make all' before realizing s/he should have run `make bootstrap'.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
^ permalink raw reply [flat|nested] 5+ messages in thread
* cannot exec cpp0
@ 2007-02-28 5:12 Rangaswamy, Parthasarathy (Parthasarathy)
2007-02-28 5:59 ` Zhang, Fan (Fan)
0 siblings, 1 reply; 5+ messages in thread
From: Rangaswamy, Parthasarathy (Parthasarathy) @ 2007-02-28 5:12 UTC (permalink / raw)
To: gcc-help; +Cc: Ling, Rex [CCC-OT_IT], Zhang, Fan (Fan)
Hi GCC Help,
I am trying to compile programs on gcc 332, but get "gcc: installation
problem, cannot exec `cpp0': No such file or directory" error.
If I add the path of cpp0 file in PATH variable, I encounter "ld: fatal:
file crt1.o: open failed: No such file or directory" error.
A simple HelloWorld program is compiled properly. However when I include
options like -g and -I and -o I encounter these errors.
Same programs are running fine on atleast 10 different systems.
Appreciate your help to resolve the issue.
Thanks,
Partha.
+91 20 3041 2774
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: cannot exec cpp0
2007-02-28 5:12 Rangaswamy, Parthasarathy (Parthasarathy)
@ 2007-02-28 5:59 ` Zhang, Fan (Fan)
0 siblings, 0 replies; 5+ messages in thread
From: Zhang, Fan (Fan) @ 2007-02-28 5:59 UTC (permalink / raw)
To: Rangaswamy, Parthasarathy (Parthasarathy), gcc-help; +Cc: Ling, Rex [CCC-OT_IT]
hi
could you refer some tips from solaris freeware groups in google as ...
http://groups.google.com/group/gnu.gcc.help/browse_thread/thread/1055dec
42f67a67d/6b24cc1ac5dfd2b9?lnk=st&q=ld%3A+fatal%3A+file+crt1.o%3A+open+f
ailed%3A&rnum=6&hl=en#6b24cc1ac5dfd2b9
to set a GCC_EXEC_PREFIX env variable and test?
Fan
-----Original Message-----
From: Rangaswamy, Parthasarathy (Parthasarathy)
Sent: Wednesday, February 28, 2007 12:58 PM
To: gcc-help@gcc.gnu.org
Cc: Ling, Rex [CCC-OT_IT]; Zhang, Fan (Fan)
Subject: cannot exec cpp0
Hi GCC Help,
I am trying to compile programs on gcc 332, but get "gcc: installation
problem, cannot exec `cpp0': No such file or directory" error.
If I add the path of cpp0 file in PATH variable, I encounter "ld: fatal:
file crt1.o: open failed: No such file or directory" error.
A simple HelloWorld program is compiled properly. However when I include
options like -g and -I and -o I encounter these errors.
Same programs are running fine on atleast 10 different systems.
Appreciate your help to resolve the issue.
Thanks,
Partha.
+91 20 3041 2774
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: cannot exec cpp0
@ 2007-02-28 6:09 Rangaswamy, Parthasarathy (Parthasarathy)
0 siblings, 0 replies; 5+ messages in thread
From: Rangaswamy, Parthasarathy (Parthasarathy) @ 2007-02-28 6:09 UTC (permalink / raw)
To: Zhang, Fan (Fan), gcc-help; +Cc: Ling, Rex [CCC-OT_IT]
Hi Fan,
Still same ctr1.o error!
Thanks
Partha.
-----Original Message-----
From: Zhang, Fan (Fan)
Sent: Wednesday, February 28, 2007 11:24 AM
To: Rangaswamy, Parthasarathy (Parthasarathy); 'gcc-help@gcc.gnu.org'
Cc: 'Ling, Rex [CCC-OT_IT]'
Subject: RE: cannot exec cpp0
hi
could you refer some tips from solaris freeware groups in google as ...
http://groups.google.com/group/gnu.gcc.help/browse_thread/thread/1055dec
42f67a67d/6b24cc1ac5dfd2b9?lnk=st&q=ld%3A+fatal%3A+file+crt1.o%3A+open+f
ailed%3A&rnum=6&hl=en#6b24cc1ac5dfd2b9
to set a GCC_EXEC_PREFIX env variable and test?
Fan
-----Original Message-----
From: Rangaswamy, Parthasarathy (Parthasarathy)
Sent: Wednesday, February 28, 2007 12:58 PM
To: gcc-help@gcc.gnu.org
Cc: Ling, Rex [CCC-OT_IT]; Zhang, Fan (Fan)
Subject: cannot exec cpp0
Hi GCC Help,
I am trying to compile programs on gcc 332, but get "gcc: installation
problem, cannot exec `cpp0': No such file or directory" error.
If I add the path of cpp0 file in PATH variable, I encounter "ld: fatal:
file crt1.o: open failed: No such file or directory" error.
A simple HelloWorld program is compiled properly. However when I include
options like -g and -I and -o I encounter these errors.
Same programs are running fine on atleast 10 different systems.
Appreciate your help to resolve the issue.
Thanks,
Partha.
+91 20 3041 2774
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-02-28 5:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-28 9:02 cannot exec cpp0 Sebastian Kwiatkowski
2001-07-30 14:20 ` Alexandre Oliva
2007-02-28 5:12 Rangaswamy, Parthasarathy (Parthasarathy)
2007-02-28 5:59 ` Zhang, Fan (Fan)
2007-02-28 6:09 Rangaswamy, Parthasarathy (Parthasarathy)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).