Re: [Mingw-w64-public] error: 'long long long' is too long for GCC
On Sun, Feb 19, 2012 at 10:00 AM, Pau Garcia i Quiles pgqui...@elpauer.org wrote: On Sun, Feb 19, 2012 at 11:59 AM, Ruben Van Boxem vanboxem.ru...@gmail.com wrote: MSYS is a minimalistic and old Cygwin, which is a POSIX software layer on top of Windows. The MSYS Bash is also at version 3.2 or something. Cygwin has 4.2 if I'm not mistaken. MinGW != MSYS/Cygwin, it's native Win32, without any serious posix support. MinGW-w64 fills some gaps, but it's impossible to have decent POSIX support for native Win32. Earnie Boyd and others started MSYS 2.0 a few months ago (based on bash 4.0 and cygwin 1.7). I'm hoping to get back to it by summer. See https://sourceforge.net/u/earnie/msys2/home/Home/ and https://sourceforge.net/u/earnie/msys2/support/faq/thread/7a480221/ -- Earnie -- https://sites.google.com/site/earnieboyd -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] error: 'long long long' is too long for GCC
On 19/2-2012 1:49 AM, JonY wrote: Somebody had #define intmax_t long long, likewise for uintmax_t. Umkai? I haven't done that ;-) Is it the default setting for mingw-w64 perhaps? Btw, why are you building bash for win64? How does that even work? bash is available in MSYS - so I thought I could compile it as well :-) -- chs -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] error: 'long long long' is too long for GCC
2012/2/19 Christer Solskogen christer.solsko...@gmail.com On 19/2-2012 1:49 AM, JonY wrote: Somebody had #define intmax_t long long, likewise for uintmax_t. Umkai? I haven't done that ;-) Is it the default setting for mingw-w64 perhaps? Well, Bash probably does this in its source somewhere. Btw, why are you building bash for win64? How does that even work? bash is available in MSYS - so I thought I could compile it as well :-) It really won't work. At all. MSYS is a minimalistic and old Cygwin, which is a POSIX software layer on top of Windows. The MSYS Bash is also at version 3.2 or something. Cygwin has 4.2 if I'm not mistaken. MinGW != MSYS/Cygwin, it's native Win32, without any serious posix support. MinGW-w64 fills some gaps, but it's impossible to have decent POSIX support for native Win32. I suggest you read up on Cygwin and MSYS before continuing this, if you do after that at all. I tried it once too, it's a pain. You'd have to rewrite/patch half of the Bash code due to POSIX assumptions (well, bash is a POSIX shell, nothing weird about that). Ruben -- chs -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] error: 'long long long' is too long for GCC
On 2/19/2012 18:35, Christer Solskogen wrote: On 19/2-2012 1:49 AM, JonY wrote: Somebody had #define intmax_t long long, likewise for uintmax_t. Umkai? I haven't done that ;-) Is it the default setting for mingw-w64 perhaps? No, somewhere in your code does it, not a mingw-w64 problem. Btw, why are you building bash for win64? How does that even work? bash is available in MSYS - so I thought I could compile it as well :-) Yes, that is the reason its in MSYS and not native win32, bash needs Unix emulation. signature.asc Description: OpenPGP digital signature -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] error: 'long long long' is too long for GCC
Hi! I'm trying to cross compile bash with my own built mingw-w64 toolchain, and I get an error saying error: 'long long long' is too long for GCC. I wonder if this is a problem with bash or my toolchain. Anyone else seeing this? Full log: $ gmake *** * * * GNU bash, version 4.2.20(1)-release (x86_64-w64-mingw32) * * *** making lib/intl/libintl.a in ./lib/intl gmake[1]: Entering directory `/usr/home/solskogen/temp/bash/lib/intl' x86_64-w64-mingw32-gcc -c -DLOCALEDIR=\/tmp/christer/share/locale\ -DLOCALE_ALIAS_PATH=\/tmp/christer/share/locale\ -DLIBDIR=\/tmp/christer/libdata\ -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\/tmp/christer/lib\ -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/home/solskogen/temp/bash -I../.. -g -O2 loadmsgcat.c In file included from /usr/home/solskogen/cross-tools/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/include/stdint.h:3:0, from /usr/home/solskogen/cross-tools/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/include/inttypes.h:12, from loadmsgcat.c:86: /usr/home/solskogen/cross-tools/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/include/stdint.h:68:38: error: 'long long long' is too long for GCC /usr/home/solskogen/cross-tools/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/include/stdint.h:68:38: error: 'long long long' is too long for GCC /usr/home/solskogen/cross-tools/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/include/stdint.h:69:48: error: duplicate 'unsigned' /usr/home/solskogen/cross-tools/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/include/stdint.h:69:48: error: 'long long long' is too long for GCC /usr/home/solskogen/cross-tools/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/include/stdint.h:69:48: error: 'long long long' is too long for GCC gmake[1]: *** [loadmsgcat.o] Error 1 gmake[1]: Leaving directory `/usr/home/solskogen/temp/bash/lib/intl' gmake: *** [lib/intl/libintl.a] Error 1 -- chs -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public