comp.lang.ada
 help / color / mirror / Atom feed
* Build problem using GNAT.Sockets on XP
@ 2007-01-20 11:57 petter_fryklund
  2007-01-20 13:51 ` petter_fryklund
  0 siblings, 1 reply; 2+ messages in thread
From: petter_fryklund @ 2007-01-20 11:57 UTC (permalink / raw)


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;




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Build problem using GNAT.Sockets on XP
  2007-01-20 11:57 Build problem using GNAT.Sockets on XP petter_fryklund
@ 2007-01-20 13:51 ` petter_fryklund
  0 siblings, 0 replies; 2+ messages in thread
From: petter_fryklund @ 2007-01-20 13:51 UTC (permalink / raw)


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;




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-20 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-20 11:57 Build problem using GNAT.Sockets on XP petter_fryklund
2007-01-20 13:51 ` petter_fryklund

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