From: Christian <cnngimenez@gmail.com>
To: 20393@debbugs.gnu.org
Subject: bug#20393: cannot compile when one folder has spaces
Date: Mon, 20 Apr 2015 23:49:19 -0300 [thread overview]
Message-ID: <1641757.hIDRi88fqK@harmonia> (raw)
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!
next reply other threads:[~2015-04-21 2:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-21 2:49 Christian [this message]
2019-10-09 3:35 ` bug#20393: cannot compile when one folder has spaces Lars Ingebrigtsen
2020-09-08 14:05 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1641757.hIDRi88fqK@harmonia \
--to=cnngimenez@gmail.com \
--cc=20393@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).