[AWS] Trying to build on Windows
Pascal Obry
pascal at obry.net
Mon Jan 9 09:59:32 CET 2012
Marius,
> Thanks, but no go. I shall note that:
>
> - contrarily to what the error message suggests, directory
> "/cygdrive/c/GNAT/2011/bin/../lib/aws/native/static" exists
I missed the /cygwin/c/GNAT part! This is a problem with your
envrironment. You have
a Cygwin PATH which does exists in native Win32.
> - the path on the error message mixes Windows ("C:", '\') and Cygwin
> ("cygdrive", '/') format; to me this is clearly wrong (specially
> mixing "C:" and "cygdrive")
>
> The problem probably lies in any of these facts, but I don't know how
> to fix it. The directory is specified in project file AWS_Lib_Shared
> as LIBZ_Path := "/cygdrive/c/GNAT/2011/bin/../lib/aws/native/static";
> I already tried changing the '/'s to '\'s (same result).
No, try replacing /cygdrive/c by c:/.
This should not happen when your environment is properly setup. The pwd command
MUST return a valid PATH for both Cygwin and native Windows.
The trick is to work and install GNAT under a mount point:
$ mount c:/opt /opt
$ mount c:/home /home
Then install GNAT under c/opt/gnat
And work only under /home.
The /home (in cygwin env) is exactly pointing to c:/home in native windows.
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
More information about the AWS
mailing list