comp.lang.ada
 help / color / mirror / Atom feed
* Use gnat and emacs(Ada-mode) can not compile file :(
@ 2003-05-03  8:13 wang tianyi
  2003-05-03 19:11 ` Simon Wright
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: wang tianyi @ 2003-05-03  8:13 UTC (permalink / raw)


I use emacs21.3 and Ada-mode.el3.6 with gnat 1.5 compile Ada files
  in winXP.
  but when i use "Ada->compile file" from menu,
  it tell me: "&& gcc -c -gnatq i:/xxx.adb , system can not find need
file, Compilation exited abnormally with code 1 at Sat May 03
15:42:24"

  I just want to compile it for windows NOT want to use 'cross_prefix'
  but every time i use "complile file" from menu, it always add &&
  before command gcc -c , and system not find what is &&,
  so system tell : can not find need file.

  any way can get rid of "&&"?

  and I already use "Ada->Costomize" fixed Ada Prj Default Comp Cmd
  from "${cross_prefix}gcc -c ${comp_opt}" to "gcc -c ${comp_opt}" and
save it.
  but it's useless!!!

  I have already set PATH for gnat , and can use gcc command in any
  where .
  
  how to get it work?
  thanks
  
-- 
Best regards,
 wang                          mailto:wang_tian_yi@sina.com



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-05-06 21:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-03  8:13 Use gnat and emacs(Ada-mode) can not compile file :( wang tianyi
2003-05-03 19:11 ` Simon Wright
2003-05-04 14:00   ` wang tianyi
2003-05-05 17:37     ` Simon Wright
2003-05-05 20:11 ` Stephen Leake
2003-05-06 21:26 ` Georg Bauhaus

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