|
From: KURT P. <pet...@ms...> - 2011-06-21 15:22:24
|
> Date: Tue, 21 Jun 2011 09:57:59 +0800 > From: xia...@gm... > To: min...@li... > Subject: Re: [Mingw-users] junk at end of assembler file > > On Tue, Jun 21, 2011 at 9:08 AM, KURT PETERS <pet...@ms...> wrote: > > >>> as -version > >> GNU assembler (GNU Binutils) 2.19.1 > >> Copyright 2007 Free Software Foundation, Inc. > >> This program is free software; you may redistribute it under the terms of > >> the GNU General Public License version 3 or later. > >> This program has absolutely no warranty. > >> This assembler was configured for a target of `mingw32'. > >> > > > >>Looks like your assembler is too old compared to the compiler, try > >>updating it. > > > > Where would I go to get the latest assembler? I did the auto update in > > Mingw, wouldn't it update the assembler through that? Is there another link > > for the assembler? > > I do not think you have updated to the latest version. Hopefully you > are using mingw-get and use it to update MinGW. > > xfchen@APSGSGPXFCHEN1 ~ > $ gcc -v > Using built-in specs. > COLLECT_GCC=C:\MinGW\bin\gcc.exe > 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,obj > c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo > mp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-r > untime-libs --disable-werror --build=mingw32 --prefix=/mingw > Thread model: win32 > gcc version 4.5.2 (GCC) > > > xfchen@APSGSGPXFCHEN1 ~ > $ as --version > GNU assembler (GNU Binutils) 2.21 > Copyright 2010 Free Software Foundation, Inc. > This program is free software; you may redistribute it under the terms of > the GNU General Public License version 3 or later. > This program has absolutely no warranty. > This assembler was configured for a target of `mingw32'. > > > > -- > Xiaofan > I ended up uninstalling and deleting the mingw directory. After reinstalling with the latest version, it compiles now. Must have been something broken with the older upgrade process. Kurt |