From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,680db47cb70ed728 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Sender: obry@PASCAL Newsgroups: comp.lang.ada Subject: Re: GNAT Project Files? References: From: Pascal Obry Date: 26 Jun 2005 09:59:00 +0200 Message-ID: Organization: Home - http://www.obry.net User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Date: 26 Jun 2005 09:59:05 CEST NNTP-Posting-Host: 82.124.123.27 X-Trace: 1119772745 news.wanadoo.fr 1232 82.124.123.27:3333 X-Complaints-To: abuse@wanadoo.fr Xref: g2news1.google.com comp.lang.ada:11660 Date: 2005-06-26T09:59:05+02:00 List-Id: Jacob Sparre Andersen writes: > ----- > with "/usr/share/ada/adainclude/xmlada.gpr"; > project AWS is > for Source_Dirs use ("/usr/share/ada/adainclude/aws"); > for Object_Dir use "/usr/lib/ada/adalib/aws"; > Ada_Switches := "-laws"; > package Linker is > for Default_Switches ("Ada") use (Ada_Switches); > end Linker; > end AWS; > ----- This project is not a library project and not a project file coming from the AWS project. So with this project you need to pass the library option to the linker yourself. Please have a look at the Library Project file and how this is handled in AWS. AWS has also Library Project to support external libraries like the one for OpenSSL. Which such an achitecture you just need to add into your own project file: with "aws"; And that's all. If you want SSL support you can use : with "aws_ssl"; 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