This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setup changes to build standalone


Christopher Faylor wrote:
> 
> On Fri, Apr 26, 2002 at 08:28:32AM -0400, Earnie Boyd wrote:
> >This is good.  IMO, there should be no binaries not dependent on
> >cygwin1.dll in the /bin a.k.a. /usr/bin and that the /bin and /usr/bin
> >directories be marked as --cygwin-executable.  One reason for doing this
> >is that it speeds the execution process for spawning by avoiding win32
> >translations.
> 
> Yeah, there are now two binaries in /usr/bin, et al that are non-cygwin:
> strace and cygcheck.  If you have /bin and /usr/bin mounted with -X, it should speed
> up execution of programs in that directory but it will screw up operation
> of strace.exe and cygcheck.exe.
> 
> I don't know how to fix that.  Maybe there should be a /usr/ncbin or something.

Yes, exactly.  It's what I do for MSYS but the directory is /mingw/bin.

> >
> >Well, if you had a mingw32-gcc (cygwin hosted, mingw32 targeted) then
> >you could use that instead of `gcc -mno-cygwin'.
> 
> This would complicate the cygwin build process.  We will always need
> -mno-cygwin.
> 

<mingw32-gcc>
#!/bin/sh
gcc -mno-cygwin
</mingw32-gcc>

<mingw32-ld>
ln -s ld.exe mingw32-ld.exe
</mingw32-ld>

Earnie.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]