I am getting an error as gcc: c-parse.c: No such file or directory
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,287
Rep:
Examples , "c-parse.c" : The gcc source code ..
1) gcc-3.3.3/gcc/c-parse.c c-parse.in c-parse.y
2) gcc-3.4.6 : the same as 1).
3) gcc-4.2.0/gcc/c-parser.c
Are you trying to compile an old gcc ?
No bison or yacc ? Or using a wrong version of gcc,
may be. The first example gcc-3.3.3 requires e.g.
gcc-3.3.6 to compile. No go with gcc-3.4.6 .
And gcc-3.2.x : Not possible to compile on a modern
Linux. AFAIK.
..
# yum install gcc-c++ compat-gcc-34-c++
.. will provide the gcc-4.4.4 and gcc-3.4.6 compilers in Fedora 13.
All versions can be installed at the same time !
..
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,287
Rep:
.. And furthermore, packages with the most other compat gcc / g++
are available too for Fedora 13 ...
These are, what I have installed in Fedora 10 - 11 - 12 - 13 :
gcc33 / gcc33-c++ : version 3.3.3
and gcc41 / gcc41-c++ : 4.1.x ( Both versions are Suse compat )
gcc3.3 / gcc3.3-c++ : 3.3.6 ( PCLinuxOS compat )
So there is usually no need for compiling a new gcc.
..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.