Re: error while cross-compiling ORBit2-2.14.1 for "ARM Cortex-A8"



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Amit Pundir wrote:
> Hello team,
>
> First of all please excuse me for my questions if they seem trivial or
> if they have already been discussed on this mailing list though I have
> done much googling for this information.
>
> I'm trying to cross-compile ORBit2-2.14.13 for my ARM machine using
> code-sourcery gnu toolchain. I'm getting the following error during
> configuration.
>
> ----------------------------
> checking whether byte ordering is bigendian... no
> checking alignment of CORBA_octet... 0
> configure: error: Failed to find alignment. Check config.log for details.
> ----------------------------
>
> In config.log I found that compiler is not able to set the alignment
> of CORBA_octet and ac_cv_alignof_CORBA_octet is set to 0. Thats why
> I'm getting this error.
>
> Similarly I'm sure I will get the same error while setting the
> alignment of CORBA_boolean, char, wchar etc..
>
> Are there any known values for the following variables which I can
> cache during configuration process?
>
well, the alignment is defined by CORBA-Spec, octet and structs  and
others are not aligned, probably expressed as "1"
> alignment of CORBA_octet     1
> alignment of CORBA_boolean   4 (bool is represented as long)
> alignment of CORBA_char      1
> alignment of CORBA_wchar     2 (same as short)
> alignment of CORBA_short     2
> alignment of CORBA_long      4
> alignment of CORBA_long_long 8
> alignment of CORBA_float     4
> alignment of CORBA_double    8
> alignment of CORBA_long_double ? (probably 8)
> alignment of CORBA_struct    1
> alignment of CORBA_pointer   (not specified by CORBA, probably platform
specific)
>
Hope that helps.

Regards, frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFJG/Tk99BSmbIl7S0RAqmSAKC+yEIS8oJjgmDeKnR0W0PWVgK/WQCgv6xk
kbvdx4jERv7b18aSFv3Fj/o=
=QDXO
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]