cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: compilation error when cross compiling with mingw-w64 (32 bits)

From: Vincent Torri <vincent.torri_at_gmail.com>
Date: Mon, 31 Oct 2011 21:27:22 +0100

On Mon, Oct 31, 2011 at 9:12 PM, Yang Tse <yangsita_at_gmail.com> wrote:

> 2011/10/31 Vincent Torri <vincent.torri_at_gmail.com>:
>
> > in src/main.c :
> > #if defined(WIN32) && !defined(__MINGW64__)
>
> You better grab a newer snapshot no src/main.c since 2011 october 4.
>

I prefer working on releases, but I'll try a snapshot if I have time.

>
> > According to the mingw-w64 dev, to detect any mingw-w64 compilers, one
> > should use __MINGW64_VERSION_MAJOR instead of __MINGW64__.
> >
> > See : http://sourceforge.net/mailarchive/message.php?msg_id=28305973
>
> Not so, according to
>
> http://www.mail-archive.com/mingw-w64-public@lists.sourceforge.net/msg00638.html
>

I asked Kai Tietz (the lead dev) just before writing that mail.

>
> Could you try a recent libcurl snapshot and report back actual
> situation mentioning clearly which project's compiler is used, as well
> as availability of a function named exactly 'ftruncate' wich takes a
> 64bit variable as second argument?
>
> Notice that Günter has several whatever64mingw autobuilds that run all
> days and show no problem in that area.
>

does he have both 32 and 64 bits builds ?

Vincent Torri

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-10-31