Operating System - HP-UX
1836564 Members
2847 Online
110102 Solutions
New Discussion

Re: Errors with gcc compilier

 
Janice Rice
New Member

Errors with gcc compilier

I am getting the following errors when I try to compile Helloworld.c with gcc 3.4.0, on my HP-UX 11.11 server:

cc1: Invalid option `-iprefix'
cc1: Invalid option `-auxbase'

Any ideas?

jr


2 REPLIES 2
Pratyush Paul_1
Valued Contributor

Re: Errors with gcc compilier

Can you send us the code and the header information of the helloworld.c


Here is a small tutorial of the gcc usage


http://galton.uchicago.edu/~gosset/Compdocs/gcc.html

Thanks

Pratyush
Die Hard
Tom Henning
Trusted Contributor

Re: Errors with gcc compilier

Looks like it might be incorrect options to the compiler also. Could you also post the command line you are using to compile the programs, and the results of echo $CCOPTS.

I do not use gcc, so I am assuming that it does use the same CCOPTS variable that the HP ANSI C compiler uses. I may be incorrect on that one.

tom
What is it that possesses otherwise sane individuals to change something just because it has not been changed in a while?