This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Help on compiles


Matt,

I just went through this mess.  I suggest you skip the build and download
the gcc executable HP provides on their Web site.  It is a lot easier to
install.  While your there, you could also pick up the gdb64 executable HP
provides.  By the way, why are you installing a 32-bit compiler on a 64-bit
system?  Be careful which executable you download because gcc comes in
either 32-bit or 64-bit.  One gcc compiler cannot do both.  

Try HP site:
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,5
47,00.html  for gcc

And

http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1
662,00.html  for gdb

Start at those points and look for the executables.  By the way, if your
company has current tech support for their HP, then you can request expert
HP assistance on the install and use of gcc and gdb.


Jacques Choiniere


-----Original Message-----
From: matt dot sherwood at philips dot com [mailto:matt dot sherwood at philips dot com] 
Sent: Thursday, February 27, 2003 6:12 PM
To: Ricardo Anguiano
Cc: gcc-help at gcc dot gnu dot org
Subject: Re: Help on compiles


Ricardo, here are some answers to your questions:

The system is HP-UX 11.00, 64-bit
The gcc version is, I believe, 3.1. I downloaded it late 2001/early 2002 I
followed the standard install instructions that came with the download. To
compile the program, I am using the Oracle-supplied make file, demo_proc.mk,
along with env_precomp.mk, that the first makefile calls. They both are
attached. I issue 'make -f demo_proc.mk EXE=(my program name) OBJS=(my
objectfile)'

As I am writing the program for my company, I'm a little hesitant to send
the source code.

(See attached file: env_precomp.mk)(See attached file: demo_proc.mk)

Thanks for your help.

Matt





 

 

                                                   To:   Matt
Sherwood/ABQ/SC/PHILIPS at AMEC                                       
                                                   cc:
gcc-help at gcc dot gnu dot org                                                    
                                                   Subject:    Re: Help on
compiles                                              
 

               Ricardo Anguiano                    Classification:

               <anguiano at codesourcery dot c

               om>

 

               02/27/03 12:02 PM

 

 





matt dot sherwood at philips dot com writes:

> Hello, My name is Matt Sherwood. I am trying to compile a program for 
> the first time, and I am getting the following errors. It would seem 
> that my overall environment is incomplete, but I cannot pinpoint the 
> problem. Any assistance you can give is greatly
> appreciated:
>
> gcc: +O2: No such file or directory
> gcc: +Z: No such file or directory
> gcc: +DAportable: No such file or directory
> gcc: +DS2.0: No such file or directory
> gcc: +Omultiprocessor: No such file or directory
> gcc: +Ofastaccess: No such file or directory
> gcc: +Oentrysched: No such file or directory
> gcc: +Onolimit: No such file or directory
> gcc: +ESlit: No such file or directory
> gcc: +Oprocelim: No such file or directory

Matt,

We need more information if we are going to be able to help.  What sort of
system is this on?  How was the compiler installed?  What is the command
line you are using to compile the program?  Which version of gcc are you
using?  What is the program?  Can you include the source code for the
program?

On first blush, it appears that options you passed to gcc are being
interpreted as input files.

Thanks,
--
Ricardo Anguiano
http://www.codesourcery.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]