This is the mail archive of the gcc@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: [Ada] warning: file name does not match unit name


kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:

|>     [Btw: why is this a warning if the compiler exits unsucessfully without
|>     creating an object?]
|> 
|> It *is* a warning and it should create an object.  Sounds like
|> something else is wrong.  Use -v -save-temps and see what's getting
|> written.  Look for *.s and *.ali.

gnat1 creates a *.s file with this contents:

	.file	"a-charac.ads"
	.pred.safe_across_calls p1-p5,p16-p63
	.file 1 "../../../gcc/ada/a-charac.ads"
	.section	.debug_abbrev,"",@progbits
.Ldebug_abbrev0:
	.section	.debug_info,"",@progbits
.Ldebug_info0:
	.section	.debug_line,"",@progbits
.Ldebug_line0:
	.text
.Ltext0:

but no *.ali file, and exits with 5.

Andreas.

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de				completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5


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