comp.lang.ada
 help / color / mirror / Atom feed
From: Patrick Noffke <patrick.noffke@gmail.com>
Subject: Re: Emacs Ada mode with RTS
Date: Thu, 18 Jun 2015 08:21:09 -0700 (PDT)
Date: 2015-06-18T08:21:09-07:00	[thread overview]
Message-ID: <a43dfcbc-3f15-4c54-9db0-a6641b1148bf@googlegroups.com> (raw)
In-Reply-To: <2503d366-a531-4531-bdbd-41f260d5886f@googlegroups.com>

On Thursday, June 18, 2015 at 10:09:53 AM UTC-5, Patrick Noffke wrote:
> On Thursday, June 18, 2015 at 9:06:13 AM UTC-5, Simon Wright wrote:
> > Patrick Noffke writes:
> > 
> > > It's the exact same command, so there must be some environment
> > > variable that Ada mode is setting, or maybe some command is run prior
> > > whose output isn't shown.
> > 
> > Annoyingly, gprbuild doesn't report all the options it passes to the
> > compiler. I found that "-cargs -v" helped. You could probably get the
> > same effect by adding "-v" to the options in package Compiler in the
> > GPR.
> 
> Both command line and Emacs Ada mode call gnat1 with the same options, aside from a different tmp file.  The command line then goes on to call as, but not Ada mode since gnat1 fails with the error I gave earlier.

Interestingly, if I run the "Check file" command from Ada mode, I get the error.  But then if I use the Emacs compile command (Tools -> Compile), using the same compile command that Check file used, the compilation succeeds.


  reply	other threads:[~2015-06-18 15:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-17 18:12 Emacs Ada mode with RTS Patrick Noffke
2015-06-17 21:30 ` Simon Wright
2015-06-18 13:48   ` Patrick Noffke
2015-06-18 14:06     ` Simon Wright
2015-06-18 15:09       ` Patrick Noffke
2015-06-18 15:21         ` Patrick Noffke [this message]
2015-06-19 13:56       ` Stephen Leake
2015-06-18 15:34 ` Stephen Leake
2015-06-18 18:19   ` Patrick Noffke
2015-06-19 14:01     ` Stephen Leake
2015-06-18 18:39   ` Patrick Noffke
2015-06-18 19:19     ` Simon Wright
2015-06-19 14:12       ` Stephen Leake
2015-06-19 19:19         ` Simon Wright
2015-06-19 14:08     ` Stephen Leake
2015-06-19 14:47       ` Patrick Noffke
2015-06-21  9:48         ` Stephen Leake
replies disabled

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