Re: gobject-introspection and MinGW



Earnie wrote:
> I'm building gobject-introspection-1.30.0 with MSYS and MinGW. I'm
> to the point of the GISCAN GLib-2.0.gir and it reports "No
> mscvr71.dll loaded." I'm using the python.org provided Windows
> distribution version 2.7. I had to modify the hack in
> giscanner/utils.py at line 101 to replace('.libs\\.libs', '.libs') to
> get this far, as well as set environment variables. Any hints on how
> to get past the reported error?

Ok, so with the help of http://tml.pp.fi/g-i.windows.diff I got past the
"No mscvr71.dll loaded" issue by loading mscvr90.dll instead.  But now
we're aborting on the syntax of stdio.h.

I've attached the output from make.  The relative bits of stdio.h are
pasted below.  Any help appreciated with this.

Earnie

#if !defined _MT

__CRT_INLINE int __cdecl __MINGW_NOTHROW getc (FILE* __F)
{
  return (--__F->_cnt >= 0)
    ?  (int) (unsigned char) *__F->_ptr++
    : _filbuf (__F);
}

__CRT_INLINE int __cdecl __MINGW_NOTHROW putc (int __c, FILE* __F)
{
  return (--__F->_cnt >= 0)
    ?  (int) (unsigned char) (*__F->_ptr++ = (char)__c)
    :  _flsbuf (__c, __F);
}

__CRT_INLINE int __cdecl __MINGW_NOTHROW getchar (void)
{
  return (--stdin->_cnt >= 0)
    ?  (int) (unsigned char) *stdin->_ptr++
    : _filbuf (stdin);
}

__CRT_INLINE int __cdecl __MINGW_NOTHROW putchar(int __c)
{
  return (--stdout->_cnt >= 0)
    ?  (int) (unsigned char) (*stdout->_ptr++ = (char)__c)
    :  _flsbuf (__c, stdout);}

#else  /* Use library functions.  */

_CRTIMP int __cdecl __MINGW_NOTHROW    getc (FILE*);
_CRTIMP int __cdecl __MINGW_NOTHROW    putc (int, FILE*);
_CRTIMP int __cdecl __MINGW_NOTHROW    getchar (void);
_CRTIMP int __cdecl __MINGW_NOTHROW    putchar (int);

#endif


Attachment: make.out
Description: application/itunes-itlp



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]