[AWS] Build Note, AWS-1.0

Matt Benjamin matt@linuxbox.nu
Fri, 21 Sep 2001 19:36:07 -0400 (EDT)


Hi Again.

I noticed that I had been working with AWS .10, not 1.0.  I haven't yet
had time to patch in cookie support, but look forward to testing it.
Thanks so much.

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.

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

I'm too inexperienced with Gnat to know the pros and cons of this
approach, but gdb/gvd was in the separately-compiled approach not able to
see the bodies of sockets and ssl stubs, maybe some other things.

Matt

Matt Benjamin

The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

tel. 734-761-4689
fax. 734-769-8938
pgr. 734-431-0118