Kellogg, Oliver | 4 Nov 11:06

Using AdaSockets with different compiler versions

Hello,

When using AdaSockets with different compiler versions, the
installation of the ALI files in the same directory as the
source files seems to bother. GNAT cops out with the error
"ALI file incorrectly formatted".

How about installing the ALI files in a different directory
than the source files?
Then users could decide to ignore the ALI install path and let
GNAT recompile the required sources.

Thanks,

 Oliver

--
Oliver M. Kellogg
Cassidian Systems, an EADS Company
Dept. ISEG42
D-89077 Ulm, Germany
Tel: +49 (0) 731.392-7138
E-Fax: +49 (0) 731.392-20 7138
E-Mail: Oliver.Kellogg <at> cassidian.com

http://www.cassidian.com

EADS Deutschland GmbH
Registered Office: Ottobrunn
District Court of Munich HRB107648
(Continue reading)

Thomas De Contes | 28 Oct 06:10
Picon
Favicon

bad casing (GNATMAKE GPL 2010)

Hi :-)

with

+ gnatmake --version
GNATMAKE GPL 2010 (20100603)

i get

gcc -c -O2 -gnatpng -I. -I. -fno-common -DPIC sockets.adb
sockets.adb:539:34: (style) bad casing of "SOL_SOCKET" declared at sockets.ads:92
gnatmake: "sockets.adb" compilation error
mv sockets.o .libs/sockets.o
mv: rename sockets.o to .libs/sockets.o: No such file or directory
make[1]: *** [sockets.lo] Error 1
make: *** [install-recursive] Error 1

--

-- 
Téléassistance / Télémaintenance
http://www.portparallele.com/ThomasDECONTES/

_______________________________________________
AdaSockets mailing list
AdaSockets <at> lists.rfc1149.net
http://lists.rfc1149.net/mailman/listinfo/adasockets

Kellogg, Oliver | 13 Oct 12:56

Re: RPM spec file

To answer my own request:
Here is the spec file that we use.

HTH,

  Oliver

> -----Original Message-----
> From: Kellogg, Oliver 
> Sent: Monday, October 11, 2010 12:44 PM
> To: 'adasockets <at> lists.rfc1149.net'
> Subject: RPM spec file
> 
> Hello,
> 
> Does anybody have an RPM spec file for AdaSockets?
> 
> (If not then I will make one.)
> 
> Thanks,
> 
>  Oliver
> 
> 
> --
> Oliver M. Kellogg
> Cassidian Systems, an EADS Company
> Dept. ISEG42
> D-89077 Ulm, Germany
> Tel: +49 (0) 731.392-7138
(Continue reading)

Kellogg, Oliver | 11 Oct 12:43

RPM spec file

Hello,

Does anybody have an RPM spec file for AdaSockets?

(If not then I will make one.)

Thanks,

 Oliver

--
Oliver M. Kellogg
Cassidian Systems, an EADS Company
Dept. ISEG42
D-89077 Ulm, Germany
Tel: +49 (0) 731.392-7138
E-Fax: +49 (0) 731.392-20 7138
E-Mail: Oliver.Kellogg <at> cassidian.com

http://www.cassidian.com

EADS Deutschland GmbH
Registered Office: Ottobrunn
District Court of Munich HRB107648
Chairman of the Supervisory Board: Dr. Thomas Enders
Managing Directors: Dr. Stefan Zoller (chairman), Michael Hecht
_______________________________________________
AdaSockets mailing list
AdaSockets <at> lists.rfc1149.net
http://lists.rfc1149.net/mailman/listinfo/adasockets
(Continue reading)

Kellogg, Oliver | 31 Mar 14:34
Favicon

Re: static

On 2007-12-08 13:34:23 GMT, Samuel Tardieu <sam <at> rfc1149.net> wrote:
> 
> On  8/12, Thomas De Contes wrote:
> 
> > It seems that with adasockets-config it uses automatically the
shared 
> > version
> 
> It has nothing to do with AdaSockets or adasockets-config; just add
> "-static" before the call to "adasockets-config --libs" on your
gnatmake
> command line.
> 
> But why would you want to do that?

For example, we wish to link only the adasockets lib statically but
other libs dynamically.
I use the following workaround in my Makefile:

# adasockets-config does not return the flags as we want them:
# For --cflags, we want -A not -I (to avoid recompilations)
# For --lflags, we want the static library not the dynamic library
ADASOCKETS_ROOT = $(shell type -p adasockets-config | sed
's@/bin/adasockets-config@@')
ADASOCKETS_CFLAGS := -A$(ADASOCKETS_ROOT)/lib/adasockets $(INCLUDES)
ADASOCKETS_LFLAGS := $(ADASOCKETS_ROOT)/lib/libadasockets.a

HTH,

Oliver
(Continue reading)

Samuel Tardieu | 18 Mar 20:48
Gravatar

AdaSockets 1.8.8 is released

It includes Oliver's changes. Thanks Oliver!

Get it from

    http://www.rfc1149.net/devel/adasockets/

If you're using Arch Linux, the package is up-to-date.

  Sam
--

-- 
Samuel Tardieu -- sam <at> rfc1149.net -- http://www.rfc1149.net/

_______________________________________________
AdaSockets mailing list
AdaSockets <at> lists.rfc1149.net
http://lists.rfc1149.net/mailman/listinfo/adasockets

Oliver Kellogg | 12 Mar 16:33
Favicon

Addition of Null_Socket_FD in sockets.ads

Hi,

I found the Null_Socket_FD useful for checking whether a Socket_FD has a 
usable value, in the sytle of

   if My_Socket /= Sockets.Null_Socket_FD then
      -- now we know that My_Socket is usable
   end if;

Further, I found that "make clean" does not remove the b~* files created by 
gnatbind so I added that to the clean rule.

One observation: "make clean" in doc/ removes the *.texi files - is that 
intentional?

Thanks for AdaSockets,

 Oliver

--

-- 
Oliver M. Kellogg
EADS Deutschland GmbH
Defence and Communication Systems
Dept. ISEG42
89077 Ulm
Tel: +49 (0) 731.392-7138
E-Fax: +49 (0) 731.392-20 7138
E-Mail: Oliver.Kellogg <at> eads.com

EADS Deutschland GmbH
(Continue reading)

Thomas De Contes | 30 Oct 05:32
Picon
Favicon

libadasockets.0.dylib

hi :-)

how to get executables not asking after libadasockets.0.dylib, please ?

--

-- 
Téléassistance / Télémaintenance
http://www.portparallele.com/ThomasDECONTES/

_______________________________________________
AdaSockets mailing list
AdaSockets <at> lists.rfc1149.net
http://lists.rfc1149.net/mailman/listinfo/adasockets

Thomas De Contes | 30 Oct 05:26
Picon
Favicon

tcprelay : small improvement

hi :-)

i've made a small improvement to tcprelay :
http://dl.free.fr/aEnxf03aw

tested :-)

--

-- 
Téléassistance / Télémaintenance
http://www.portparallele.com/ThomasDECONTES/

_______________________________________________
AdaSockets mailing list
AdaSockets <at> lists.rfc1149.net
http://lists.rfc1149.net/mailman/listinfo/adasockets

Euan McVie | 11 Dec 19:20
Picon
Picon
Favicon

Trouble Installing adasockets 1.8.6

Hi
Am trying to install adasockets using cygwin under win xp. I get the 
following error on make install. Any help appreciated.
$ make install
Making install in src
make[1]: Entering directory `/home/Euan/tmp/src'
gnatmake -g -O2 ../../adasockets-1.8.6/src/split.adb
gcc -c -I../../adasockets-1.8.6/src/ -g -O2 -I- 
../../adasockets-1.8.6/src/split
.adb
gnatbind -x split.ali
gnatlink split.ali -g
gcc -I. -o constants_nodef ../../adasockets-1.8.6/src/constants.c
In file included from ../../adasockets-1.8.6/src/constants.c:93:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/windows.h:90:2: 
war
ning: #warning "The  Win32_Winsock macro name is deprecated.    Please use 
__USE
_W32_SOCKETS instead"
In file included from 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32a
pi/windows.h:98,
                 from ../../adasockets-1.8.6/src/constants.c:93:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:103:2: 
w
arning: #warning "fd_set and associated macros have been defined in 
sys/types.
    This may cause runtime problems with W32 sockets"
In file included from 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32a
(Continue reading)

Thomas De Contes | 6 Dec 15:24
Picon
Favicon

static

hi :-)

is it possible to install adasockets so that it is static ?

--

-- 
j'agis contre l'assistanat, je travaille dans une SCOP !

_______________________________________________
AdaSockets mailing list
AdaSockets <at> lists.rfc1149.net
http://lists.rfc1149.net/mailman/listinfo/adasockets


Gmane