i'm trying to cross compile for win XP, with the following config:
./configure --enable-mantainer-mode  --enable-ft2232-libftdi
--host=x86_64-w64-mingw32

i get the following errors:
jim-win32compat.c: In function ‘gettimeofday’:
jim-win32compat.c:36: error: storage size of ‘tb’ isn’t known
jim-win32compat.c:38: warning: implicit declaration of functgpion ‘_ftime’
jim-win32compat.c:36: warning: unused variable ‘tb’
jim-win32compat.c: At top level:
jim-win32compat.c:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
jim-win32compat.c:91: error: expected ‘)’ before ‘*’ token
jim-win32compat.c:106: error: expected ‘)’ before ‘*’ token

i've attached the configure output.

i've never done cross compiling before, so any help is welcome.

thanks!

On Mon, Jun 13, 2011 at 3:49 PM, Liam Redmond (Rock Software)
<[email protected]> wrote:
> It has been a while and I think my msys is quite out of date. Have reverted
> to building on Linux.
>
> Thanks.
>
> ----- Original Message ----- From: "Freddie Chopin" <[email protected]>
> To: <[email protected]>
> Sent: Monday, June 13, 2011 4:22 PM
> Subject: Re: [Openocd-development] Status of building using Mingw64?
>
>
>> OpenOCD versions from my website ( www.freddiechopin.info ) - 32- and
>> 64-bit, the most recent one is a week old - are built with this compiler,
>> but with the most recent version (GCC 4.7.0) and on Linux, as I found that
>> easier than using Cygwin or MSYS directly in Windows.
>>
>> 4\/3!!
>>
>>
>> _______________________________________________
>> Openocd-development mailing list
>> [email protected]
>> https://lists.berlios.de/mailman/listinfo/openocd-development
>
> _______________________________________________
> Openocd-development mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/openocd-development
>



-- 
Rodrigo.

Attachment: configure_make
Description: Binary data

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to