Cross Compiling Ada Sockets

Joel Sherrill <[email protected]> Mon, 10 Sep 2007 18:21:22 -0500
Newsgroups gmane.comp.lang.ada.sockets
Message-ID <[email protected]>
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
[email protected]
http://lists.rfc1149.net/mailman/listinfo/adasockets