Joel Sherrill | 11 Sep 2007 01:21
Gravatar

Cross Compiling Ada Sockets

Hi,

Samuel .. hello .. it has been a long time :-D

I am trying to compile adasockets 1.8.5 to
on Fedora 7 to target powerpc-rtems4.8.  The
cross compiler itself works well.  I
can't seem to make the autoconf script
happy at all.

This was my most obvious attempt:

../adasockets-1.8.5/configure \
  --disable-examples \
   --build=`../adasockets-1.8.5/support/config.guess` \
   --host=`../adasockets-1.8.5/support/config.guess` \
  --target=powerpc-rtems4.8

I ended up with a set of i386 ELF .o's.  Not what I wanted.
So I tried this:

../adasockets-1.8.5/configure \
  --disable-examples \
   --build=`../adasockets-1.8.5/support/config.guess` \
   --host=powerpc-rtems4.8 \
  --target=powerpc-rtems4.8

This is MUCH closer I think but support/adacompiler looks
to be hard-coded to the native gnatmake.

(Continue reading)

Samuel Tardieu | 4 Nov 2007 21:32
Gravatar

Re: Cross Compiling Ada Sockets

>>>>> "Joel" == Joel Sherrill <joel.sherrill <at> oarcorp.com> writes:

Joel> I am trying to compile adasockets 1.8.5 to on Fedora 7 to target
Joel> powerpc-rtems4.8.  The cross compiler itself works well.  I
Joel> can't seem to make the autoconf script happy at all.

Yes, AdaSockets has never been ready for cross-compilation as it
generates the constants package at compilation time. If I find some
time, I'd like to remove this limitation.

  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


Gmane