Joel Sherrill | 11 Sep 01:19

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.

And I need to pass in some extra CFLAGS and LDFLAGS to the
cross C compiler. 

Any suggestions on compiling this cross would be most
appreciated

Thanks in advance.

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


Gmane