Compile issues on HP-UX HPUX using gcc and gmake

I am trying to use gcc/gmake to compile some code on an HPUX B.11.00 machine.  I got the binaries for gcc and placed them in /usr/local/...  I did not compile the gnu stuff myself because this machine did not have an ANSI-C compiler to do so.  Now that I have everything in the /usr/local/... folder, when I try to compile, the compiler chokes because of the define _LF_EXTERN_OR_STATIC_OR_INLINE.  Where/how does this get defines?  Do I need to add defines to my Makefile?   I have the same code compiling (with gcc) on Linux and Solaris, so I know that my code is ok.  Any help about this (and other HPUX issues) is appreciated.
mromeoAsked:
Who is Participating?
 
ee_ai_constructConnect With a Mentor Commented:
Question answered by asker or dialog valuable.
Closed, 250 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0
 
TintinCommented:
gcc consists of a lot more than some binaries in /usr/local.  There's all the libraries and header files that need to go with it.

You can grab a HPUX gcc package from http://hpux.cs.utah.edu/
0
 
mromeoAuthor Commented:
Thanks.  The problem was a bit more complicated than that.  I needed an older version of gcc because I am running HPUX 11.00.  The latest version does not work with this version of the OS. Thanks for your help anyway, but I found what I was looking for.
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
TintinCommented:
So what did you do to resolve the problem?
0
 
mromeoAuthor Commented:
I downloaded the pre-compiled binaries for version 3.2.2.  The latest version of gcc (3.4.2) is not compatible with HP-UX 11.00
0
 
tfewsterCommented:
Just out of interest, where did you find the gcc 3.2.2 binaries for HP-UX 11.00?   I suspect I might have to remake them from scratch...
0
 
mromeoAuthor Commented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.