Again, you don't need, or probably even WANT, pcc as it doesn't target the
Win32 subsystem which is where 99.9% of things (including UWIN) run. And,
again, it may have a different name in the sources. David Korn mentioned
that it's under /usr/src/cc, which would indicate that looking for files
named pcc.* would be the wrong approach.
Keep in mind that UWIN doesn't come with a compiler, so if you're looking
for UWIN's compiler, you're going to be looking for a long time. ;)
--Matt
--------------------------------------------------
From: "Sergei Steshenko" <[email protected]>
Date: Wednesday, May 20, 2009 11:25 AM
To: <[email protected]>; "Matt Lewandowsky" <[email protected]>
Subject: Re: [uwin-users] which source package contains 'pcc.c' ?
--- 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