[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mingw-msys
Subject:    Re: [Mingw-msys] Ignored command line options
From:       Keith MARSHALL <keith.marshall () total ! com>
Date:       2005-12-19 10:01:48
Message-ID: OF13B741DD.B0597260-ON802570DC.00361128-802570DC.003718D2 () total ! com
[Download RAW message or body]

Christian Gudrian wrote:
> I have just downloaded the most recent version of MingW and MSYS.
> Now I have the problem, that MSYS obviously does not pass on command
> line options to the called progam.
>
> Example using MSYS:
>
> Gudrian@DEMETER ~
> $ gcc --version
> gcc.exe: no input files
>
> The --version parameter is not passed on to gcc.

IIRC, this happens when you ignore the installation instructions,
and install MSYS and MinGW into the same tree -- you MUST NOT put
MinGW binaries into the MSYS /bin directory.

> When I use CMD.EXE, everything works as expected:
>
> C:\msys\bin>gcc --version
> gcc (GCC) 3.4.2 (mingw-special)
> Copyright (C) 2004 Free Software Foundation, Inc.

And this tends to confirm that you have installed incorrectly.

You should remove your entire C:/msys directory tree, and reinstall
correctly.  The default installation paths are `C:/MSYS/1.0' for MSYS,
and `C:/MinGW' for MinGW.  I recommend that you stick with these
recommended defaults -- you may change the drive designator, if that
suits you better, but it's best to keep the same paths otherwise.

After installation, /etc/fstab in your MSYS tree should have the
mount specification `C:/MinGW<tab>/mingw' -- (N.B <tab> is the single
ASCII TAB character).

HTH.
Keith.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Mingw-msys mailing list
Mingw-msys@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-msys
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic