gcc and cross-compilers

Mumit Khan khan@xraylith.wisc.edu
Tue Apr 28 21:14:00 GMT 1998


On Tue, 28 Apr 1998, Kai Ruottu wrote:

> 
>  Anyway, after installing the mingw32 patches (and removing the 'unlibsubdir'
> things from the search paths, that I have always hated since removing them
> from the cygwin32-sources), there weren't much troubles to get a Linux-to-
> mingw32-egcs-1.0.2 cross-compiler. Thanks to Mumit for providing the patches!

Glad it worked!

I agree that the "unlibsubdir" patch isn't very elegant, but I wanted to
be compatible with Cygnus' distribution, and it does make the binary
distributions much more "transportable". If you're building for yourself,
there's no reason to use that patch however.

> 
>  Regards, Kai
> 
> PS. I didn't revert the fixes for the headers... All but the mkdir() seems
> Ok for me. But is it really true that mkdir() is like the one in Borland C
> (only one parameter), and not like the UNIX-standard 'int mkdir(const char *, 
> mode_t)' ?
> 

That's because Win32 is not Unix ;-) Both MSVC/CRTDLL and Borland runtimes
use a single parameter, since those were designed for FAT and what not
that don't have the concept of permissions. The Win32 API however does
allow these modes.

Regards,
Mumit

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list