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
Solved

Compile issues on HP-UX HPUX using gcc and gmake

Posted on 2004-10-07
8
332 Views
Last Modified: 2013-12-26
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.
0
Comment
Question by:mromeo
8 Comments
 
LVL 48

Expert Comment

by:Tintin
ID: 12253325
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
 

Author Comment

by:mromeo
ID: 12253347
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
 
LVL 48

Expert Comment

by:Tintin
ID: 12253498
So what did you do to resolve the problem?
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

 

Author Comment

by:mromeo
ID: 12253542
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
 
LVL 20

Expert Comment

by:tfewster
ID: 12278377
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
 

Author Comment

by:mromeo
ID: 12278395
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 12279210
Question answered by asker or dialog valuable.
Closed, 250 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 51
centeredAverage challenge 8 179
fizzArray2 challenge 1 91
zeroMAx challenge 20 113
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

829 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