comp.lang.ada
 help / color / mirror / Atom feed
From: "Per Dalgas Jakobsen" <nospam@nospam.org>
Subject: Compilation induced constants in Ada code?
Date: Fri, 03 Jan 2003 12:12:02 +0100
Date: 2003-01-03T12:12:02+01:00	[thread overview]
Message-ID: <pan.2003.01.03.11.12.02.464825@nospam.org> (raw)

Hi,

I'm trying to get gcc to compile more robust with Ada support.
At the moment it breaks if -suffix is used in builds (gcc becomes gcc-3.2
or similar).

In make.adb the following line is declared:
	Gcc : String_Access := Program_Name ("gcc");

This causes gnatmake to look for gcc, not the suffixed version.

What will be considered a good solution to get the compilation of gnatmake
depend on a compiler-switch?

An obvious one: Patch make.adb to change the name just before compilation.

Others?

Best regards
Per




             reply	other threads:[~2003-01-03 11:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-03 11:12 Per Dalgas Jakobsen [this message]
2003-01-03 22:34 ` Compilation induced constants in Ada code? Stephen Leake
2003-01-07 14:20   ` Ted Dennison
2003-01-04 19:50 ` Waldek Hebisch
2003-01-04 20:22   ` Per Dalgas Jakobsen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox