[AWS] Build Note, AWS-1.0

Pascal Obry p.obry@wanadoo.fr
Sat, 22 Sep 2001 11:10:51 +0200


Matt,

 > On a related note, I found that the makefiles in 1.0 (and I think the
 > previous v. I used) have the affect of losing a lot of debugging
 > information--and I needed that because when I run the "runme" demo with
 > SSL support, Jurgen Pfeifer-packaged Gnat 3.13p, I get a trap when I
 > shutdown an SSL connection.

AWS 1.1 will have a better makefile and it will be possible to select to build
with debug info or not by changing only the main makefile.

 > The following build procedure worked better for me:
 > 
 > 1. Unpack latest Adasockets pkg: /root/ada/adasockets-0.1.14
 > 2. (from AWS-1.0/demos directory)
 > 3. ln -s ../src/aws-net-ssl.adb aws-net.adb
 > 4. ln -s ../include/aws-os_lib-gnat.adb aws-os_lib.adb
 > 5. gnatmake runme -g -I../src -I../include \
 > 	-I/root/ada/adasockets-0.1.14/src -I../ssl -largs /usr/lib/libssl.so

Seems ok to me, in this case you build everything with debug
info. Note that you could add -i (in-place compilation) to the gnatmake
commande line. This will ask gnatmake to put the .o and .ali in the same
directory than the sources.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"