Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: [cdt-dev] How to find out, whether we are running on Cygwin

Mikhail,

thanks for your suggestions. This is the pragmatic way to go: If eclipse is running on Windows (yes Doug, you are perfectly right) then let's suspect that the toolchain might be cygwin type and just try it.

Perhaps it is the best way to be pragmatic.

Then again :-) the cygwin-or-not question is a toolchain property so I thought it might be appropriat to get this information from a place like the scanner discovery profile.

I'll open another thread for an application of this discussion, where path entries are handled. Stay tuned :-)


Norbert

-----Ursprüngliche Nachricht-----
Von: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] Im Auftrag von Daniel Jacobowitz
Gesendet: Montag, 4. September 2006 18:29
An: CDT General developers list.
Betreff: Re: [cdt-dev] How to find out, whether we are running on Cygwin

On Mon, Sep 04, 2006 at 12:36:00PM +0200, Ploett, Norbert wrote:
> Question: How can I detect "somewhere in the CDT" whether I am on cygwin
> and need to translate or on Linux and can use the path directly?

Mikhail's suggestion is probably the way to go.  Something to keep in
mind is that "running on Cygwin" doesn't make sense here.  Eclipse
never runs on Cygwin.  Sometimes the external tools that it spawns
do, and sometimes they don't.

-- 
Daniel Jacobowitz
CodeSourcery
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top