comp.lang.ada
 help / color / mirror / Atom feed
* gnatmake: could not write mapping file
@ 2011-12-22 18:10 Achim
  2011-12-22 19:46 ` Achim
  0 siblings, 1 reply; 3+ messages in thread
From: Achim @ 2011-12-22 18:10 UTC (permalink / raw)


Hello,

I've just installed GNAT GPL 2011 on a virtual Windows XP partition
(Virtual Box on a native Mac OS X).
I've all my sources in a shared folder.
All programs compile and build well with native Mac OS X and virtual
Ubuntu. But on the virtual Windows XP I get the message

   gnatmake: could not write mapping file

when trying to compile or build.
This seems to be a simple configuration problem discussed here several
times before, but I can't find a solution.

Many thanks for any help

-- 
Achim



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

* Re: gnatmake: could not write mapping file
  2011-12-22 18:10 gnatmake: could not write mapping file Achim
@ 2011-12-22 19:46 ` Achim
  2011-12-22 19:56   ` Gautier write-only
  0 siblings, 1 reply; 3+ messages in thread
From: Achim @ 2011-12-22 19:46 UTC (permalink / raw)


Achim schrieb:
> Hello,
>
> I've just installed GNAT GPL 2011 on a virtual Windows XP partition
> (Virtual Box on a native Mac OS X).
> I've all my sources in a shared folder.
> All programs compile and build well with native Mac OS X and virtual
> Ubuntu. But on the virtual Windows XP I get the message
>
> gnatmake: could not write mapping file
>
> when trying to compile or build.
> This seems to be a simple configuration problem discussed here several
> times before, but I can't find a solution.
>
> Many thanks for any help
>

Hello,

I had my object_dir and exec_dir in the shared folder too.
After I placedc:\project\giads3\build\ folders on the local C: drive
the build works fine. The source is still in the shared folder.

So I think this issue is solved.
Nevertheless I would appreciate a hint why the error occurred.

-- 
Achim



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

* Re: gnatmake: could not write mapping file
  2011-12-22 19:46 ` Achim
@ 2011-12-22 19:56   ` Gautier write-only
  0 siblings, 0 replies; 3+ messages in thread
From: Gautier write-only @ 2011-12-22 19:56 UTC (permalink / raw)


On 22 déc, 20:46, Achim <joachim.schro...@web.de> wrote:

> So I think this issue is solved.
> Nevertheless I would appreciate a hint why the error occurred.

Just guessing:
- there is an issue with the path given for mapping files (absolute/
relative)
- the shared drive has trouble with temporary files or the like
(happens with some network drives)
Anyway, the use of mapping file is there for speeding up the build, so
it should make sense only on a fast drive (local hard disk or RAM
disk), in most of the cases.
You have probably the -C[=xxx] option in the gnatmake command, just
remove it or the "=xxx" and you'll be happy!

  -C       Cache source mappings: invoke compiler with temp mapping
file
  -C=mapp  Cache source mappings: invoke compiler with mapping file
mapp
_________________________
Gautier's Ada programming
http://gautiersblog.blogspot.com/search/label/Ada
NB: follow the above link for a valid e-mail address



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

end of thread, other threads:[~2011-12-22 19:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-22 18:10 gnatmake: could not write mapping file Achim
2011-12-22 19:46 ` Achim
2011-12-22 19:56   ` Gautier write-only

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