Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

King of Men

GCC compiler help

This topic is 5223 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!