[adasockets] Cross Compiling Ada Sockets
Joel Sherrill
joel.sherrill at oarcorp.com
Tue Sep 11 01:21:22 CEST 2007
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
More information about the AdaSockets
mailing list