?
Solved

GCC Setup

Posted on 1998-10-28
4
Medium Priority
?
336 Views
Last Modified: 2013-12-16
I am having difficulty setting up GCC 2.8.1 on an HP9000/I-70 with HPUX ver 10.20.  I realize that I also need
to setup GAS (binutils).  I am having both lex and bison errors (though I did install, then reboot a bison parser (1.25).  I believe the directions in general may be over my
head a little as I am a new sysadmin.  Any help would be greatly appreciated.
0
Comment
Question by:jessicacampbell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 3

Expert Comment

by:elfie
ID: 1812269
if you're talking about gcc, gas and bison shouldn't lex be flex then?
0
 
LVL 4

Accepted Solution

by:
davidmwilliams earned 150 total points
ID: 1812270
Hi Jessica,

  For binutils and other GNU programs, just cd into the extracted archive directory, and then build them like so -

  sh Configure
  make install

  This will configure the makefiles appropriately for your system, which is a step you may be missing.  Then, it will compile the programs (if necessary) and put them in pre-defined locations (usually /usr/local/{bin,lib,man}.
  Note that gcc will be a bit more complex than this, because it has to be used to compile itself a few times - but print out its README's and you'll do ok.
  However, if you do get problems building the files after running Configure, make sure you've got the latest version of everything by checking http://www.gnu.org/order/ftp.html
  Finally, if all continues to fail, you should look for a binary version of gcc for your platform (do a Web search).  However, this should only be the case if you don't actually have any sort of C compiler installed already.

Regards,
 David Williams
0
 

Author Comment

by:jessicacampbell
ID: 1812271
Thank you for taking the time to help, it is appreciated!
0
 
LVL 4

Expert Comment

by:davidmwilliams
ID: 1812272
 My pleasure, Jessica, and I'm happy to hear that what I said was of help to you.
  Let me know if you hit any further problems!

Regards,
 David Williams
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question