help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling with debug


From: John W. Eaton
Subject: Compiling with debug
Date: Fri, 19 Jun 1998 16:08:17 -0500 (CDT)

On 19-Jun-1998, Edward Scott Meadows <address@hidden> wrote:

| I'd like to compile libcruft with debugging information so
| that I can use the libraries in another application.  I've
| tried
| 
|       make CFLAGS=-g CXXFLAGS=-g LDFLAGS=-g libcruft
| 
| and it didn't compile with -g.  I've even tried to define
| F77="g77 -g" which also didn't work.  What's the incantation
| to do this right?  I'm using g77.
 
I think GNU Make uses FC as the variable name for the Fortran
compiler, not F77, so you could use

  make FC="g77 -g"

but probably the best way to do this is to use

  make FFLAGS=-g ...

instead.

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]