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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,296fa4776748c164 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!m58g2000cwm.googlegroups.com!not-for-mail From: petter_fryklund@hotmail.com Newsgroups: comp.lang.ada Subject: Re: Build problem using GNAT.Sockets on XP Date: 20 Jan 2007 05:51:38 -0800 Organization: http://groups.google.com Message-ID: <1169301098.356483.294870@m58g2000cwm.googlegroups.com> References: <1169294269.482930.17730@11g2000cwr.googlegroups.com> NNTP-Posting-Host: 83.140.228.17 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1169301105 30054 127.0.0.1 (20 Jan 2007 13:51:45 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 20 Jan 2007 13:51:45 +0000 (UTC) In-Reply-To: <1169294269.482930.17730@11g2000cwr.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: m58g2000cwm.googlegroups.com; posting-host=83.140.228.17; posting-account=BR1rQA0AAADK6pcQTy1j-a-E35ZLMrdq Xref: g2news2.google.com comp.lang.ada:8360 Date: 2007-01-20T05:51:38-08:00 List-Id: Sorry folks, it is GNAT.Sockets, not GNAT_Sockets. petter_fryklund@hotmail.com skrev: > gcc -c -g -gnatQ -o c:\usr\petter\utilities\test\.\test_utilities.o "-g > -gnatf" -gnatA c:\usr\petter\utilities\test\.\test_utilities.adb > test_utilities.adb:8:11: file "gnat_sockets.ads" not found > test_utilities.adb:8:11: "Tcp_Ip_Server (body)" depends on > "Gnat_Sockets (spec)" > test_utilities.adb:8:11: file "gnat_sockets-thin.ads" not found > test_utilities.adb:8:11: "Test_Utilities (body)" depends on > "Tcp_Ip_Server (body)" > test_utilities.adb:8:11: "Tcp_Ip_Server (body)" depends on > "Gnat_Sockets.Thin (spec)" > > > It seems to me like GNAT doesn't look in the library, but expects me to > supply GNAT.Sockets. I've never had any problems with finding units in > the library before. Any clues? > > My Project File looks like: > > project Utilities is > > for Languages use ("Ada"); > for Source_Dirs use ("C:\Usr\Petter\Utilities\"); > for Object_Dir use ".\obj\"; > for Exec_Dir use "..\exe\"; > for Main use ("m.adb"); > > package Linker is > for Default_Switches ("ada") use ("-g"); > end Linker; > > package Binder is > for Default_Switches ("ada") use ("-static"); > end Binder; > > package Compiler is > for Default_Switches ("ada") use ("-g"); > for Default_Switches ("c") use (""); > for Default_Switches ("c++") use (""); > end Compiler; > > package Builder is > for Default_Switches ("ada") use ("-g", "-gnatQ"); > end Builder; > end Utilities;