This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
crosscompile for VxWorks
- To: egcs at cygnus dot com
- Subject: crosscompile for VxWorks
- From: sxthree at penfeld dot tls dot mms dot fr (SXTHREE)
- Date: Tue, 21 Apr 1998 13:03:10 +0200
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