From: SourceForge.net <no...@so...> - 2006-10-21 06:31:11
|
Support Requests item #1580988, was opened at 2006-10-19 19:47 Message generated for change (Comment added) made by garyw90 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=202435&aid=1580988&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Open Priority: 5 Submitted By: Gary Williams (garyw90) Assigned to: Nobody/Anonymous (nobody) Summary: gcc.exe -v: no input files Initial Comment: After installing msys-1.0.10 to the default directory (c:\msys\1.0), mingw-runtime-3.9.tar, binutils- 2.16.91-20060119-1.tar gcc-core-3.4.5-20060117.tar, and gcc-g++-3.4.5-200600117.tar to the same directory, I get the above error trying to run gcc. Even if I do provide a source file, it says the same thing. At one point, this seemed to work if I was in the /bin directory, but no other directory. I have since uninstalled and reinstalled, and now it never works, even in the /bin directory. Gary@GARY-HOME /bin $ gcc -v gcc.exe: no input files Gary@GARY-HOME /bin $ g++ -v g++.exe: no input files Gary@GARY-HOME /bin $ c++ -v c++.exe: no input files Gary@GARY-HOME /bin $ ld -v C:\msys\1.0\bin\ld.exe: no input files Gary@GARY-HOME /bin $ uname -a MINGW32_NT-5.1 GARY-HOME 1.0.10(0.46/3/2) 2004-03-15 07:17 i686 unknown Gary@GARY-HOME /bin $ Gary@GARY-HOME /bin $ ls /bin addr2line.exe dlltool.exe info.exe mv.exe start ar.exe dllwrap.exe infokey.exe nm.exe strings.exe as.exe echo install-info.exe objcopy.exe strip.exe awk egrep install.exe objdump.exe tail.exe basename.exe env.exe ld.exe od.exe tar.exe bunzip2 ex less.exe patch.exe tee.exe bzip2.exe expr.exe libW11.dll printf texi2dvi c++.exe false.exe ln.exe ps.exe texindex.exe c++filt.exe fgrep lnkcnv pwd touch.exe cat.exe find.exe ls.exe ranlib.exe tr.exe chmod.exe fold.exe m4.exe readelf.exe true.exe cls ftp make.exe rm.exe uname.exe clsb g++.exe makeinfo.exe rmdir.exe uniq.exe cmd gawk.exe md5sum.exe rvi vi cmp.exe gcc.exe mingw32-c++.exe rview view comm.exe gccbug mingw32-g++.exe rvim vim.exe cp.exe gcov.exe mingw32-gcc-3.4.5 rxvt.exe wc.exe cpp.exe gprof.exe mingw32-gcc.exe sed.exe which cut.exe grep.exe mingwm10.dll sh.exe windres.exe date.exe gunzip mkdir.exe size.exe xargs.exe diff.exe gzip.exe mount.exe sleep.exe Please help!! I'm sure this is some stupid installation issue ---------------------------------------------------------------------- >Comment By: Gary Williams (garyw90) Date: 2006-10-20 23:31 Message: Logged In: YES user_id=486626 I know I'm probably being a pain, but I just completely uninstalled the entire msys directory (and everything about msys and mingw), then reinstalled msys (to default directory of c:\msys\1.0) and untarred gcc-core-3.4.5- 20060117.tar into the root of the msys directory (c:\msys\1.0) then ran gcc -v from within the X window shell of MSYS and I ran into the same problem. In other words, I installed the minimum possible set of files and it still did not work. Incidentally, if I run gcc from the Windows XP command prompt, it works properly and reports the version information. So it seems like it must be something about msys and the Bourne shell that is launched from within it. So what is going on with msys? Any clues? Other programs (i.e. uname seem to interpret the command line arguments properly. Another point: from the Windopws XP command prompt, I set PATH=c:\msys\1.0\bin;%PATH% gcc -v and all is well. After that, I sh gcc -v and I get the same error. So it seems like it must be something about sh. Am I still missing something in TFM? ---------------------------------------------------------------------- Comment By: Earnie Boyd (earnie) Date: 2006-10-20 09:42 Message: Logged In: YES user_id=15438 It is also clearly stated in /doc/msys/README.rtf and I do mean clearly. The MSYS installer gives you the opportunity to read it after the installation is completed. That said, we know that work on www.mingw.org is needed. Wish to volunteer? ---------------------------------------------------------------------- Comment By: Gary Williams (garyw90) Date: 2006-10-20 08:13 Message: Logged In: YES user_id=486626 Thank you both for your comments. Coming at this from outside the project, because I need to use some software that says it can be compiled using MinGW/MSYS, I of course start at the home page, which tells me what MinGW/MSYS is. Then I go to the download page, which tells me more about what it is, then has the files to download. Okay, so I download. Unfortunately, the information that tells to install MinGW in a subdirectory under MSYS was buried under the file list. The excellent information that Earnie pointed out is available, if you know to look there. Perhaps some changes to either the download page, or reorganization of the download page to tell the installation order *before* seeing the list of files will prevent stupid questions like this in the future. By the way, when I ran into this problem, I checked out the FAQs and did look around for ananswer before I even attempted to contact this group. ---------------------------------------------------------------------- Comment By: Earnie Boyd (earnie) Date: 2006-10-20 06:48 Message: Logged In: YES user_id=15438 RTFM: http://www.mingw.org/MinGWiki/index.php/Install%20MinGW http://www.mingw.org/MinGWiki/index.php/Install%20MSYS ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2006-10-19 21:24 Message: Logged In: YES user_id=11494 I don't have msys installed so I can't reproduce. I think you have an installation probelm. This is what the instructions at http://mingw.org/download.shtm say: "If you plan to use MSYS then you could install MSYS first and install MinGW into the <msys_prefix>/mingw directory. Or install MinGW in a separate directory tree and use the MSYS /etc/fstab file to point the MSYS /mingw directory to it." ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=202435&aid=1580988&group_id=2435 |