comp.lang.ada
 help / color / mirror / Atom feed
From: petter_fryklund@hotmail.com
Subject: Re: Build problem using GNAT.Sockets on XP
Date: 20 Jan 2007 05:51:38 -0800
Date: 2007-01-20T05:51:38-08:00	[thread overview]
Message-ID: <1169301098.356483.294870@m58g2000cwm.googlegroups.com> (raw)
In-Reply-To: <1169294269.482930.17730@11g2000cwr.googlegroups.com>

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;




      reply	other threads:[~2007-01-20 13:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-20 11:57 Build problem using GNAT.Sockets on XP petter_fryklund
2007-01-20 13:51 ` petter_fryklund [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox