This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Cross compiling for vxworks
Hi,
here is the configure command I used
$>../gcc-3.4.3/configure --prefix=/home/jf/cross --program-
prefix=powerpc-wrs-vxworks- --target=powerpc-wrs-vxworks --with-cpu=604
--with-headers=/home/jf/gcc/h/ --enable-languages=c
then
$>make
I got somme errors with vxTypesBase.h (ptrdiff_t and wchar_t where
defined twice, maybe because of fixinc) that were easy to fix...
But could you give some more details about your host system (I had hard
time because of a buggy gcc in Mandrake community 10.1) ?
Jean-Fraçois
Le vendredi 03 décembre 2004 à 10:19 +0100, Leopold Palomo-Avellaneda a
écrit :
> Bon jour,
>
> thank's for the answer. My problem is that the target isn't ppc, is i686.
> Howeber I have tried it, my the result also was wrong.
>
> Could you explain what did you do? Is the same that i have done but with ths
> sources of 3.4.3?
>
> Best regards,
>
> Leo