From: SF/projects/mingw n. l. <min...@li...> - 2011-09-23 19:30:36
|
Bugs item #3413249, was opened at 2011-09-23 12:08 Message generated for change (Settings changed) made by ifrh You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=3413249&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: MinGW Installer Group: None Status: Open Resolution: None >Priority: 6 Private: No Submitted By: Robert Hartmann (ifrh) Assigned to: Nobody/Anonymous (nobody) Summary: mingw-get-inst-20110802.exe: as.exe and ld.exe are missing Initial Comment: Hi there, today I have downloaded mingw-get-inst-20110802.exe I have to do the installation behinde a proxy. (I had to set some enviroment variables, that is ok for me) My PC at work is a Windows XP professional Version 2002 SP3 I have choosen to install as System-Administrator (into C:\MinGW) , I selected the Option "Use pre-packaged repository catalogues 20110802". After install gcc, g++ and objc I tested as normal user: ======= gcc --version: gcc (GCC) 4.5.2 Copyright (C) 2010 Free Software Foundation, Inc. Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es gibt KEINE Garantie; auch nicht f³r MARKTG─NGIGKEIT oder F▄R SPEZIELLE ZWECKE. ======= But I can't compile a simple "hello, world": Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.5.2/lto-wrapper.exe Target: mingw32 Configured with: ../gcc-4.5.2/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --disable-werror --build=mingw32 --prefix=/mingw Thread model: win32 gcc version 4.5.2 (GCC) COLLECT_GCC_OPTIONS='-v' '-c' '-mtune=i386' '-march=i386' c:/mingw/bin/../libexec/gcc/mingw32/4.5.2/cc1.exe -quiet -v -iprefix c:\mingw\bin\../lib/gcc/mingw32/4.5.2/ test.c -quiet -dumpbase test.c -mtune=i386 -march=i386 -auxbase test -version -o C:\PROFILES\rhartm2m\LOCALS~1\Temp\cctf0nbh.s GNU C (GCC) version 4.5.2 (mingw32) compiled by GNU C version 4.5.2, GMP version 5.0.1, MPFR version 2.4.1, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../mingw32/include" ignoring nonexistent directory "/mingw/include" ignoring duplicate directory "c:/mingw/lib/gcc/../../include" ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.5.2/include" ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.5.2/include-fixed" ignoring nonexistent directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.5.2/../../../../mingw32/include" ignoring nonexistent directory "/mingw/include" #include "..." search starts here: #include <...> search starts here: c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include-fixed End of search list. GNU C (GCC) version 4.5.2 (mingw32) compiled by GNU C version 4.5.2, GMP version 5.0.1, MPFR version 2.4.1, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 48c0bd49e9a9404f24c600b71b435d06 COLLECT_GCC_OPTIONS='-v' '-c' '-mtune=i386' '-march=i386' as -o test.o C:\PROFILES\rhartm2m\LOCALS~1\Temp\cctf0nbh.s gcc: CreateProcess: No such file or directory ======= C:\MinGW\bin>gcc --version gcc (GCC) 4.5.2 Copyright (C) 2010 Free Software Foundation, Inc. Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es gibt KEINE Garantie; auch nicht f³r MARKTG─NGIGKEIT oder F▄R SPEZIELLE ZWECKE. C:\MinGW\bin>g++ --version g++ (GCC) 4.5.2 Copyright (C) 2010 Free Software Foundation, Inc. Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es gibt KEINE Garantie; auch nicht f³r MARKTG─NGIGKEIT oder F▄R SPEZIELLE ZWECKE. C:\MinGW\bin>as --version 'as' is not recognized as an internal or external command, operable program or batch file. C:\MinGW\bin>ld --version 'ld' is not recognized as an internal or external command, operable program or batch file. ====================== Ok "as" and "ld" are missing! This shouldn't happen. After this i went into cmd and mingw-get --reinstall install binutils doesn't help C:\MinGW\bin>mingw-get --reinstall install as mingw-get: *** ERROR *** as: unknown package C:\MinGW\bin>mingw-get --reinstall install ld mingw-get: *** ERROR *** ld: unknown package Please help me!!! Thanks :-) ---------------------------------------------------------------------- Comment By: Robert Hartmann (ifrh) Date: 2011-09-23 16:15 Message: I said, that the file "binutils-2.21.1-2-mingw32-bin.tar.lzma" which was downloaded by mingw-get (mingw-get-inst) has only 556KB as file size and is located in C:\MinGW\var\cache\mingw-get\packages. And I asked, "Why doesn't mingw-get-inst, mingw-get complains about broken download? " The point is, that the download was not broken: The downloaded file is a correct lzma-file, but not binutils. Here is the contents list of the mingw-get (mingw-get-inst) downloaded file: [You can see, that aren't realy binutils!] doc/ doc/runtime/ doc/runtime/CONTRIBUTORS doc/runtime/DISCLAIMER doc/runtime/README include/ include/assert.h include/complex.h include/conio.h include/ctype.h include/dir.h include/direct.h include/dirent.h include/dos.h include/errno.h include/excpt.h include/fcntl.h include/fenv.h include/float.h include/getopt.h include/gmon.h include/inttypes.h include/io.h include/libgen.h include/limits.h include/locale.h include/malloc.h include/math.h include/mbctype.h include/mbstring.h include/mem.h include/memory.h include/process.h include/profil.h include/profile.h include/search.h include/setjmp.h include/share.h include/signal.h include/stdint.h include/stdio.h include/stdlib.h include/string.h include/strings.h include/sys/ include/sys/fcntl.h include/sys/file.h include/sys/locking.h include/sys/param.h include/sys/stat.h include/sys/time.h include/sys/timeb.h include/sys/types.h include/sys/unistd.h include/sys/utime.h include/tchar.h include/time.h include/unistd.h include/utime.h include/values.h include/varargs.h include/wchar.h include/wctype.h include/_mingw.h lib/ lib/binmode.o lib/crt1.o lib/crt2.o lib/crtmt.o lib/crtst.o lib/CRT_fp10.o lib/CRT_fp8.o lib/CRT_noglob.o lib/dllcrt1.o lib/dllcrt2.o lib/gcrt1.o lib/gcrt2.o lib/libcoldname.a lib/libcrtdll.a lib/libgmon.a lib/libm.a lib/libmingw32.a lib/libmingwex.a lib/libmingwthrd.a lib/libmingwthrd_old.a lib/libmoldname.a lib/libmoldname70.a lib/libmoldname70d.a lib/libmoldname71.a lib/libmoldname71d.a lib/libmoldname80.a lib/libmoldname80d.a lib/libmoldname90.a lib/libmoldname90d.a lib/libmoldnamed.a lib/libmsvcr70.a lib/libmsvcr70d.a lib/libmsvcr71.a lib/libmsvcr71d.a lib/libmsvcr80.a lib/libmsvcr80d.a lib/libmsvcr90.a lib/libmsvcr90d.a lib/libmsvcrt.a lib/libmsvcrtd.a lib/txtmode.o share/ share/man/ share/man/man3/ share/man/man3/basename.3 share/man/man3/dirname.3 ---------------------------------------------------------------------- Comment By: Robert Hartmann (ifrh) Date: 2011-09-23 15:39 Message: I found out, that the file "binutils-2.21.1-2-mingw32-bin.tar.lzma" which was downloaded by mingw-get (mingw-get-inst) in directory has only 556KB as file size located in C:\MinGW\var\cache\mingw-get\packages BUT the file "binutils-2.21.1-2-mingw32-bin.tar.lzma" downloaded with FireFox from URL http://downloads.sourceforge.net/project/mingw/MinGW/BaseSystem/GNU-Binutils/binutils-2.21.1/binutils-2.21.1-2-mingw32-bin.tar.lzma?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fmingw%2Ffiles%2FMinGW%2FBaseSystem%2FGNU-Binutils%2Fbinutils-2.21.1%2F&ts=1316784194&use_mirror=dfn has 1796 KB as file size. Between 556 KB and 1796 KB is to much difference: So something is realy going wrong with mingw-get but perhaps only if you are behind a proxy? Why doesn't mingw-get-inst, mingw-get complains about broken download? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=3413249&group_id=2435 |