csa@sw.stratus.com (Chris Arthur) (09/19/89)
it looks like the wrong filename (ie, the name of the source file (junk.c), rather than the name of the profile data file (junk.d)) gets put in the generated code when you use -a with gcc...The result is that when you run the resulting program, it commits suicide (by stomping on its source file). :-( chris csa@es.stratus.com csa@pennies.sw.stratus.com csa@wpi.wpi.edu
csa@sw.stratus.com (Chris Arthur) (09/20/89)
it looks like the wrong filename (ie, the name of the source file (junk.c), rather than the name of the profile data file (junk.d)) gets put in the generated code when you use -a with gcc...The result is that when you run the resulting program, which compiles without error, it WIPES OUT THE SOURCE FILE. :-( :-( :-( (Emphasis on undesirable result added by popular request.) This is on a Sun-3, Sunos 4.0. chris csa@es.stratus.com csa@pennies.sw.stratus.com csa@wpi.wpi.edu