This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] New package: mingw64-x86_64-gcc-4.5.1-1


On 14 September 2010 03:13, JonY wrote:
> Version 4.5.1-1 of "mingw64-x86_64-gcc" has been uploaded.
>
> mingw64-x86_64-gcc contains GCC sources used by the 64bit target toolchain.
> See mingw64-x86_64-gcc-core, mingw64-x86_64-gcc-objc,
> mingw64-x86_64-gcc-ada, mingw64-x86_64-gcc-g++ and
> mingw64-x86_64-gcc-fortran for binaries.

Great stuff.

First issue: Is this to be expected?

$ x86_64-w64-mingw32-gcc hello.c
[compiles fine]

$ /bin/x86_64-w64-mingw32-gcc hello.c
/Users/Andy/AppData/Local/Temp/cckcwv49.s: Assembler messages:
/Users/Andy/AppData/Local/Temp/cckcwv49.s:10: Error: bad register name `%rbp'
/Users/Andy/AppData/Local/Temp/cckcwv49.s:11: Error: bad register name `%rsp'
/Users/Andy/AppData/Local/Temp/cckcwv49.s:12: Error: bad register name `%rsp'
/Users/Andy/AppData/Local/Temp/cckcwv49.s:14: Error: bad register name `%rip)'

It's obviously picking up the wrong assembler that way.

$ /bin/x86_64-w64-mingw32-gcc hello.c -v
Using built-in specs.
COLLECT_GCC=/bin/x86_64-w64-mingw32-gcc
COLLECT_LTO_WRAPPER=/bin/../lib/gcc/x86_64-w64-mingw32/4.5.1/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with:
/home/user/cygp6/mingw64-x86_64-gcc/mingw64-x86_64-gcc-4.5.1-1/src/gcc-4.5.1/configure
--srcdir=/home/user/cygp6/mingw64-x86_64-gcc/mingw64-x86_64-gcc-4.5.1-1/src/gcc-4.5.1
-C --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share
--localstatedir=/var --sysconfdir=/etc --datarootdir=/usr/share
--docdir=/usr/share/doc/mingw64-x86_64-gcc --build=i686-pc-cygwin
--host=i686-pc-cygwin --target=x86_64-w64-mingw32
--with-sysroot=/usr/x86_64-w64-mingw32/sys-root
--with-build-sysroot=/usr/x86_64-w64-mingw32/sys-root
--disable-multilib --disable-win32-registry
--enable-languages=c,ada,c++,fortran,objc,obj-c++
--enable-fully-dynamic-strings --enable-libgomp
--enable-sjlj-exceptions --enable-version-specific-runtime-libs
--with-dwarf2 --enable-decimal-float=bid --enable-lto
Thread model: win32
gcc version 4.5.1 (GCC)
COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=x86-64'
 /bin/../lib/gcc/x86_64-w64-mingw32/4.5.1/cc1.exe -quiet -v -iprefix
/bin/../lib/gcc/x86_64-w64-mingw32/4.5.1/ hello.c -quiet -dumpbase
hello.c -mtune=generic -march=x86-64 -auxbase hello -version -o
/Users/Andy/AppData/Local/Temp/ccLGdDIT.s
GNU C (GCC) version 4.5.1 (x86_64-w64-mingw32)
        compiled by GNU C version 4.5.0, GMP version 4.3.1, MPFR
version 2.4.1-p5, MPC version 0.8
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory
"/bin/../lib/gcc/x86_64-w64-mingw32/4.5.1/../../../../x86_64-w64-mingw32/include"
ignoring nonexistent directory
"/usr/x86_64-w64-mingw32/sys-root/usr/local/include"
ignoring duplicate directory
"/bin/../lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.5.1/include"
ignoring duplicate directory
"/bin/../lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.5.1/include-fixed"
ignoring nonexistent directory
"/bin/../lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.5.1/../../../../x86_64-w64-mingw32/include"
#include "..." search starts here:
#include <...> search starts here:
 /bin/../lib/gcc/x86_64-w64-mingw32/4.5.1/include
 /bin/../lib/gcc/x86_64-w64-mingw32/4.5.1/include-fixed
 /usr/x86_64-w64-mingw32/sys-root/mingw/include
End of search list.
GNU C (GCC) version 4.5.1 (x86_64-w64-mingw32)
        compiled by GNU C version 4.5.0, GMP version 4.3.1, MPFR
version 2.4.1-p5, MPC version 0.8
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 80e7a582a443f3cfd9d86919d58b0d54
COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=x86-64'
 as -v -o /Users/Andy/AppData/Local/Temp/ccD8vdf5.o
/Users/Andy/AppData/Local/Temp/ccLGdDIT.s
GNU assembler version 2.20.51 (i686-cygwin) using BFD version (GNU
Binutils) 2.20.51.20100410
/Users/Andy/AppData/Local/Temp/ccLGdDIT.s: Assembler messages:
/Users/Andy/AppData/Local/Temp/ccLGdDIT.s:10: Error: bad register name `%rbp'
/Users/Andy/AppData/Local/Temp/ccLGdDIT.s:11: Error: bad register name `%rsp'
/Users/Andy/AppData/Local/Temp/ccLGdDIT.s:12: Error: bad register name `%rsp'
/Users/Andy/AppData/Local/Temp/ccLGdDIT.s:14: Error: bad register name `%rip)'

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]