the uwin specific source is in this package
        uwin - UWIN base source package
the source for the uwin cc is in
        src/cmd/cc
and the "source" of confusion is that the source file name is
        pcc.c

pcc.c generates one executable
the hard link to the executable determines how the compiler behaves
        c89
        cc
        ncc
        CC
        nCC
the executable uses PACKAGE_cc to determine the underlying compiler
e.g., cl.exe for msvc (it picks msvc by default)

On Wed, 20 May 2009 11:25:52 -0700 (PDT) Sergei Steshenko wrote:
> --- On Wed, 5/20/09, Matt Lewandowsky <[email protected]> wrote:

> > From: Matt Lewandowsky <[email protected]>
> > Subject: Re: [uwin-users] which source package contains 'pcc.c' ?
> > To: [email protected]
> > Date: Wednesday, May 20, 2009, 11:10 AM
> > > From "Sergei Steshenko" <[email protected]>
> > on Wednesday, May 20, 2009 
> > 10:04 AM:
> > 
> > > So, I really don't have a clue at the moment where to
> > look for the 'pcc.c'
> > > file.
> > 
> > As David Korn wrote, you need to look at the cc sources,
> > which may or may not be in the UWIN source package; they may
> > be in one of the others. Also, it may simply be cc.c that
> > you're looking for; it may carry a different output name
> > from the source filename. I'm sure that the AT&T
> > Research guys can give more info on that though.
> > 
> > But, I have to wonder why you're interested in trying to
> > use UWIN to compile for the POSIX subsystem... Interix's
> > environment already has a perfectly good and well-tested
> > compiler. Cross-compiling from UWIN just doesn't sound like
> > something that's going to be fun to debug, to me... Or, are
> > you trying to just get the ast stuff to build for SFU/SUA?
> > In that case, it's definitely easier to do so "natively" in
> > the POSIX environment, let me assure you of that... ;)
> > (Off-topic: Why isn't there a binary release of ksh for
> > Interix environments? The MKS ksh just gives a terrible
> > impression to people... ;) )
> > 
> > --Matt 

> Matt, I downloaded _all_ the source packages, I tried to build them all
> both under Linux and Windows (in the latter case under CYGWIN, just to
> start things going, before I discovered the beta binary packages which
> _can_ be installed), and I ran 'grep -r ...' and 'find . -iname "pcc*"'
> on the _whole_ tree, i.e. on _all_ the packages.

> Still, I couldn't find the file.

> As to what I'm trying to do - in the end I need something stand-alone
> which is UNIXish/Linuxish in its source, and it should run on _any_
> Windows computer, under _any_ user ID, so I need (if i understand
> correctly) posix.dll and AST library. The application is simple enough, it 
> doesn't change UIDs, etc, so, I hope, I do not need the server.
> Essentially, I need fork/exec* and UNIX dlopen semantics - UWIN appears to
> provide them all.

> In simple English I need the whole thing I'm working on to be 
> self-contained; it'll be portable/relocatable WRT paths; it won't require
> installation in Windows sense.

> Thanks,
>   Sergei.

>       
> _______________________________________________
> uwin-users mailing list
> [email protected]
> https://mailman.research.att.com/mailman/listinfo/uwin-users

_______________________________________________
uwin-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/uwin-users

Reply via email to