delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/20/16:44:27

From: "Ed Wallace" <wallace AT ami1 DOT md DOT essd DOT northgrum DOT com>
Organization: Northrop Grumman ESSD
To: djgpp AT delorie DOT com
Date: Mon, 20 Oct 1997 16:39:18 EDT
Subject: compiling C++ with -a switch
Message-ID: <8878ADA6D7A@ami1.md.essd.northgrum.com>

I'm trying to compile a program using the -a option so that I can 
automate branch coverage of my program when testing it.  There should 
be a bb.out file produced when the program is run but there isn't.  
Does anyone know what I'm doing wrong?
I compile with :  GCC -c -g -a filename
I link with :  GCC -a -o filename.exe filename.o -lm

ps:  using -pg switch  works ok.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019