GCC compiler help
I''m trying to install the newest version of gcc, 3.4.0, on a Redhat 7.2 box. After some trials and tribulations, I have managed to build and install it. However, when I try to run gcj, the Java frontend, I get the error message "Installation problem : Cannot run jc1. No such file or directory." Now, the file certainly does exist. I''ve tried adding its location to my path, as well as copying it to my /usr/bin directory, and to the directory where gcj itself is located. Does anyone have any other suggestions?
Extra info : I configured gcc with
--enable-java-awt=xlib --with-x --prefix=$Home/mygcc
I used
gcj Hello.java
as my test of gcj - perhaps I need some additional options, or something?
To win one hundred victories in one hundred battles is not the acme of skill. To subdue the enemy without fighting is the acme of skill.
odd
find out where cc1 is, and put jc1 there if it is not already.
Otherwise, look to see if there is more install commands to the install procedure than what you did.
find out where cc1 is, and put jc1 there if it is not already.
Otherwise, look to see if there is more install commands to the install procedure than what you did.
Good idea, unfortunately they were already in the same directory. Guess I''ll be posting this on a Linux-help forum. If you don''t see me again, it''s because I annoyed a wizard and he turned me into a Microsoft drone.
To win one hundred victories in one hundred battles is not the acme of skill. To subdue the enemy without fighting is the acme of skill.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement