Inga Badalyan | 21 Apr 2011 14:02
Picon
Favicon

g++ Create Process. No such file or directory

Hello.
I am trying to run a GCC win build under windows and getting  the error from the title.
I have all paths set correctly. Any other suggestions?

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Mingw-msys mailing list
Mingw-msys@...
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Chris Sutcliffe | 21 Apr 2011 19:26
Picon

Re: g++ Create Process. No such file or directory

On 21 April 2011 08:02, Inga Badalyan wrote:
> Hello.
> I am trying to run a GCC win build under windows and getting  the error from
> the title.
> I have all paths set correctly. Any other suggestions?

What does 'which g++' give you?

Assuming it's /mingw/bin/g++.exe, please provide 'ls -l /mingw/mingw32/bin'.

Chris

--

-- 
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
Chris Sutcliffe | 22 Apr 2011 05:01
Picon

Updated: mintty-0.9.7-1

I've uploaded version 0.9.7-1 of the mintty terminal emulator.  For details see:

http://code.google.com/p/mintty/

To update using mingw-get:

mingw-get update
mingw-get upgrade mintty

To download the files manually, the packages are available here:

http://sourceforge.net/projects/mingw/files/MSYS/mintty/mintty-0.9.7/mintty-0.9.7-1-msys-1.0.16-bin.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/mintty/mintty-0.9.7/mintty-0.9.7-1-msys-1.0.16-doc.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/mintty/mintty-0.9.7/mintty-0.9.7-1-msys-1.0.16-lic.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/mintty/mintty-0.9.7/mintty-0.9.7-1-msys-1.0.16-src.tar.lzma/download

Please report bugs or suggest enhancements via the mintty issue tracker:

http://code.google.com/p/mintty/issues/list

Chris

--

-- 
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d

------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
Chris Sutcliffe | 22 Apr 2011 14:07
Picon

Re: g++ Create Process. No such file or directory

On 22 April 2011 01:46, Inga Badalyan wrote:
> total 7343
> -rw-r--r--    1 User     mkpasswd        0 Apr 19 14:27 a.out
> -rwxr-xr-x    1 User     mkpasswd   582144 Jan 28 21:14 ar.exe
> -rwxr-xr-x    1 User     mkpasswd  1008640 Jan 28 21:14 as.exe
> -rwxr-xr-x    1 User     mkpasswd   615936 Jan 28 21:14 dlltool.exe
> -rwxr-xr-x    1 User     mkpasswd   822784 Jan 28 21:15 ld.bfd.exe
> -rwxr-xr-x    1 User     mkpasswd   822784 Jan 28 21:15 ld.exe
> -rwxr-xr-x    1 User     mkpasswd   572928 Jan 28 21:14 nm.exe
> -rwxr-xr-x    1 User     mkpasswd   718336 Jan 28 21:14 objcopy.exe
> -rwxr-xr-x    1 User     mkpasswd  1071104 Jan 28 21:14 objdump.exe
> -rwxr-xr-x    1 User     mkpasswd   582144 Jan 28 21:14 ranlib.exe
> -rwxr-xr-x    1 User     mkpasswd   718336 Jan 28 21:14 strip.exe
>
> and which g++
> /cygdrive/c/MinGW/bin/g++

Ah, you are running under Cygwin?  I had assumed you were running
under MSYS.  I've seen this type of issue before where the mingw32
directory is populated with files of 0 size.  If you run the MinGW g++
from a Windows Command Prompt, do you still see the same behaviour?

Chris

--

-- 
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d

------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
Chris Sutcliffe | 22 Apr 2011 14:24
Picon

Re: g++ Create Process. No such file or directory

On 22 April 2011 08:18, Inga Badalyan wrote:
>> Ah, you are running under Cygwin?  I had assumed you were running
>> under MSYS.  I've seen this type of issue before where the mingw32
>> directory is populated with files of 0 size.  If you run the MinGW g++
>> from a Windows Command Prompt, do you still see the same behaviour?
>
> yes

Please reply to the list as well, as there may be others that can
help.  How did you install MinGW gcc/g++?

Chris

--

-- 
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d

------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
Inga Badalyan | 22 Apr 2011 15:02
Picon
Favicon

Re: g++ Create Process. No such file or directory

I have not installed it. Just placed the directory to a folder and added its bin path to my  PATH ENV vars.
Also its lib to my LIB. That is all.

From: Chris Sutcliffe <ir0nh34d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Inga Badalyan <badalyan-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>; MSYS Discussion List <mingw-msys-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Sent: Friday, April 22, 2011 5:24 PM
Subject: Re: [Mingw-msys] g++ Create Process. No such file or directory

On 22 April 2011 08:18, Inga Badalyan wrote:
>> Ah, you are running under Cygwin?  I had assumed you were running
>> under MSYS.  I've seen this type of issue before where the mingw32
>> directory is populated with files of 0 size.  If you run the MinGW g++
>> from a Windows Command Prompt, do you still see the same behaviour?
>
> yes

Please reply to the list as well, as there may be others that can
help.  How did you install MinGW gcc/g++?

Chris

--
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d


------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Mingw-msys mailing list
Mingw-msys@...
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Chris Sutcliffe | 22 Apr 2011 18:41
Picon

Re: g++ Create Process. No such file or directory

On 22 April 2011 09:02, Inga Badalyan wrote:
> I have not installed it. Just placed the directory to a folder and added its
> bin path to my  PATH ENV vars.
> Also its lib to my LIB. That is all.

So you downloaded the tarballs from mingw.org and extracted them?  I'm
trying to determine if there is possibly a missing dependency.

The 'mingw-get' install utility available from mingw.org is probably
the most reliable way to install MinGW gcc/g++, as it will download
all the dependencies.

--

-- 
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d

------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
Cesar Strauss | 25 Apr 2011 04:32
Picon

Updated: msys-core-1.0.17-1

The latest MSYS runtime, version 1.0.17, is now available.

New feature: Allow to temporarily suppress pop-ups for Windows exception 
dialogs. See ``error-mode --help'' for further info.

Bugfix: Avoid setting errno on successful close.

To upgrade with mingw-get:

1) mingw-get update
2) mingw-get upgrade msys-core-bin msys-core-ext msys-core-doc msys-core-lic

Caveat: you need to shut down any active MSYS processes, and run these 
commands from cmd.exe, or from an alternate MSYS installation.

Regards,

Cesar

------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
Joseph Poirier | 29 Apr 2011 22:11
Picon

path string differences

Hi,

I seem to be getting different path strings returned from very similar commands.

If I start a shell window using the non-rxvt MSYS link and do the following:

$ cd /c/mingw/bin; pwd
/c/mingw/bin

$ MGWROOT="C:\Mingw\bin"

$ echo $(cd ..; pwd)
/c/mingw

$ echo $(cd "$MGWROOT"; pwd)
/mingw

I wouldn't have expected the output to be any different. Maybe it's because MGWROOT is in a windows
formatted path and when the variable gets expanded something is happening under the hood? But what's
really odd is that there have been instances when, for the example above, $(cd ..; pwd) has returned /mingw .

Some background.

There's a bash file for doing builds that's used on nix systems as well as windows. The user can set some
environment variables for cross compiling. On windows, the user is setting the path strings in windows
format and we use the following code to do the conversion to an msys formatted string, so no sed required.

# code for checking the OS and other code omitted.

if (ls -d "$BLDROOT" 2>/dev/null); then
   BLDROOT =$(cd "$BLDROOT"; pwd)
fi

Then there's a sanity check to see if the build script is being run from the folder where the environment
variable was set, e.g.

DIR1=$(cd ..; pwd)
DIR2=$(cd "$BLDROOT"; pwd)

if [ "$DIR1" != "$DIR2" ]; then
   echo "$BLDROOT blah, blah blah:
   exit 1
fi 

The above path conversion code works great (on windows) as long as the build folder doesn't reside in either
the MinGW or MSYS folders. If it does, the DIR1 check against DIR2 fails, even though the build's root
folder and the environment variable coincide. The conditional check fails because DIR1=/c/mingw/src
isn't the same as DIR2=/mingw/src textually. But it doesn't always fail, on some occasions DIR1 will be
set correctly to /mingw/src.

Thanks,
joe

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd

Gmane