[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20393: cannot compile when one folder has spaces
From: |
Christian |
Subject: |
bug#20393: cannot compile when one folder has spaces |
Date: |
Mon, 20 Apr 2015 23:49:19 -0300 |
User-agent: |
KMail/4.14.6 (Linux/3.19.3-200.fc21.x86_64; KDE/4.14.6; x86_64; ; ) |
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!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#20393: cannot compile when one folder has spaces,
Christian <=