crosscompile for VxWorks
SXTHREE
sxthree@penfeld.tls.mms.fr
Tue Apr 21 06:52:00 GMT 1998
I'm getting problems while cross-compiling libiberty for
powerpc-wrs-vxworks5.3 .
It seems stdarg.h needs being included before stdio in
vasprintf (and in anything which uses va_lists)
puting the lines
-->
#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
#endif
>--
before
#include <stdio.h>
does not seem harmful on Solaris and it makes libiberty compile
for my cross-target.
I wonder if moving stdarg before stdio is the right solution or if
I should instead try to force the use of the old VxWorks ARCH_va_list
for compiling libiberty.
(Note: using egcs-19980418 snapshot)
FM
More information about the Gcc
mailing list