Help on compiles

Ricardo Anguiano anguiano@codesourcery.com
Fri Feb 28 16:18:00 GMT 2003


matt.sherwood@philips.com writes:

> 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)

Let's see if we can figure out what the actual invocation of the
compiler is.  Please recomple using the debug flag "-d" and send us
the typescript.

        make -d -f demo_proc.mk ...

>From the (make) Options Summary info page:

`-d'
     Print debugging information in addition to normal processing.  The
     debugging information says which files are being considered for
     remaking, which file-times are being compared and with what
     results, which files actually need to be remade, which implicit
     rules are considered and which are applied--everything interesting
     about how `make' decides what to do.  The `-d' option is
     equivalent to `--debug=a' (see below).

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



More information about the Gcc-help mailing list