unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20393: cannot compile when one folder has spaces
@ 2015-04-21  2:49 Christian
  2019-10-09  3:35 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Christian @ 2015-04-21  2:49 UTC (permalink / raw)
  To: 20393

emacs, ada-mode 

Hi, I found a problem when trying to compile using a project (gpj) file. Is 
easy to solve.

The problem is that if you're at a directory with spaces, gnatmake will 
recieve two parameters instead of one.

The solution is easy: The variable ada-build-make-cmd needs double quotes 
between the "{gpr_file}" substring: 
"${cross_prefix}gnatmake -P\"${gpr_file}\" -o ${main} ${main} ${gnatmake_opt} -
cargs -I${src_dir} ${comp_opt} -bargs ${bind_opt} -largs ${link_opt}"

After setting that, you should restart Emacs.

Could you add this string as a default value?

Cheers!





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

end of thread, other threads:[~2020-09-08 14:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-21  2:49 bug#20393: cannot compile when one folder has spaces Christian
2019-10-09  3:35 ` Lars Ingebrigtsen
2020-09-08 14:05   ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).