[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mingw-users
Subject:    Re: [Mingw-users] _get_errno and _set_errno missing,
From:       Shawn Authement <Shawn.Authement () texmemsys ! com>
Date:       2008-01-24 15:13:55
Message-ID: 4798AB33.50501 () texmemsys ! com
[Download RAW message or body]

Brian Dessent wrote:
> msvcrt.dll does not export either of these functions.  Neither does msvcr70.dll nor
> msvcr71.dll.  They are new in VS 8, and are indeed exported by
> msvcr80.dll.  This means when you add the import to msvcrt.def.in you
> need to surround it with the appropriate #ifdefs
>   
Oh.  I guess I had trusted MSDN's "Compatability" section to mean, "this 
existed in Gold editions of the following OS's", but I see I was dead 
wrong.  Instead, I guess it really means, "The run-time provided with 
this compiler exports this function and can be installed on the 
following OS's".  Thank you for that clarification.

>> I then tried downloading the mingw-runtime-3.1.4.src.  First off, I
>> typed "configure", then "make".  Configure seemed to go fine.  Make
>> bombs out immediately not able to find Windows.h.
>>     
>
> Of course it can't, because it's trying to compile the package with the
> native linux compiler by simply running "configure".  You need to
> cross-compile, so you need to add --host=i386-mingw32msvc to configure. 
> (or whatever target triplet your cross-toolchain uses.)
>   

Thanks as well for this (slaps self in head).  As you can tell, I am 
unfamiliar with "configurators".  This is a good lesson, though!

-- Shawn Authement

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic