[AWS] Compiling hello_world errors

Thomas De Contes d.l.tDeContes at free.fr
Wed Oct 31 22:57:39 CET 2007


Le 23 oct. 07 à 19:57, Pascal Obry a écrit :

> Thomas De Contes a écrit :
>
>> in fact they were done, but in .build/release/demos/
>> (i searched for them in demos/ )
>> is it right ?
>
> Yes. Every build objects are created under the .build directory.
>
>> (they work :-) )
>
> No surprise :)

but we can't use a lot of them without replace them in the demos/  
dir, because they don't find their data files (!)
except for res_demo, because if it was in demos/ , one couldn't be  
sure that it wouldn't read the files on the disk ;-)


>> but, why doesn't it work if we try to use demos.gpr ?
>
> demos.gpr is there to build the demos in the build environment only.

well, it would be nice to add a .gpr file which allow to build demos  
locally,
and a README which explain how to build them, for those who don't  
know use .gpr files, and in which order try the demos, to have the  
difficult increasing :-)


>> i tried with
>> ADA_PROJECT_PATH=/Users/thomas/Documents/info/bin/autoinstall/ 
>> autre/lib/gnat;/Users/thomas/Documents/info/bin/autoinstall/autre/ 
>> lib/gnat/aws
>
> You need to add <aws_root>/.build/projects

ok,
anyway i seen in an other thread that i need ";" to separate paths,  
and i didn't understood that it was for windows


>> could you help me to find in this page
>> http://www.adacore.com/wp-content/files/auto_update/gnat-unw-docs/ 
>> html/gnat_ugn_12.html
>>
>> how to set a directory where i want the executables, please ? :-)
>
>    For Exec_Dir use "whatever";

thank you :-)

i would have preferred that me this is given :
http://www.adacore.com/wp-content/files/auto_update/gnat-unw-docs/ 
html/gnat_ugn_12.html#SEC144
so i can easier find things myself the next time,
but no matter :-)


-- 
j'agis contre l'assistanat, je travaille dans une SCOP !




More information about the AWS mailing list