From: Mei, L. <LM...@an...> - 2008-05-21 21:01:07
|
I was failed when I tried to build latest boost with latest Cygwin because Cygwin does not support wide char (Unicode) yet. I am wondering that does MinGW support wide char? Thanks, James **************************************************************** The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to Del...@an... - and destroy all copies of this information, including any attachments, without reading or disclosing them. Thank you. |
From: Andy R. <que...@ya...> - 2008-05-22 15:26:03
|
Mei, Longyu wrote: > I was failed when I tried to build latest boost with latest Cygwin > because Cygwin does not support wide char (Unicode) yet. I am wondering > that does MinGW support wide char? Yes it does - wchar_t, and wide string - std::wstring, but *not* wide streams. So if you want to manipulate wide chars and strings in memory then that will do the job. By the way, because MinGW is compiling for native Windows, and Windows uses only 16-bit wide strings, because the Win32 interface pre-dates the extension of Unicode to more than 16 bits. So the wide char on MinGW is also 16 bits. This is interpreted as UTF-16 encoded Unicode by the Windows system calls. Andy |
From: Mei, L. <LM...@an...> - 2008-05-23 13:12:44
|
Thank you, Andy. Anybody can tell me the steps to build boost under MinGW? Do I need MSYS? Thanks, James -----Original Message----- From: min...@li... [mailto:min...@li...] On Behalf Of Andy Rushton Sent: Thursday, May 22, 2008 11:26 AM To: min...@li... Subject: Re: [Mingw-users] MinGW + Boost Mei, Longyu wrote: > I was failed when I tried to build latest boost with latest Cygwin > because Cygwin does not support wide char (Unicode) yet. I am wondering > that does MinGW support wide char? Yes it does - wchar_t, and wide string - std::wstring, but *not* wide streams. So if you want to manipulate wide chars and strings in memory then that will do the job. By the way, because MinGW is compiling for native Windows, and Windows uses only 16-bit wide strings, because the Win32 interface pre-dates the extension of Unicode to more than 16 bits. So the wide char on MinGW is also 16 bits. This is interpreted as UTF-16 encoded Unicode by the Windows system calls. Andy ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ MinGW-users mailing list Min...@li... You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users **************************************************************** The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to Del...@an... - and destroy all copies of this information, including any attachments, without reading or disclosing them. Thank you. |
From: Greg C. <gch...@sb...> - 2008-05-23 13:22:19
|
On 2008-05-23 13:12Z, Mei, Longyu wrote: > > Anybody can tell me the steps to build boost under MinGW? Do I need > MSYS? Have you tried these instructions? http://www.boost.org/doc/libs/1_35_0/more/getting_started/windows.html |
From: Mei, L. <LM...@an...> - 2008-05-23 14:14:06
|
Just tried. Got an error: libs\serialization\src\basic_text_wiprimitive.cpp:14:2: #error "wide char i/o not supported on this platform" . . . ...failed updating 12 targets... ...skipped 8 targets... ...updated 255 targets... We try to build the boost binary lib to being used in our projects. I am wondering with above result can we still use the binary lib? Thanks, James -----Original Message----- From: min...@li... [mailto:min...@li...] On Behalf Of Greg Chicares Sent: Friday, May 23, 2008 9:22 AM To: MinGW Users List Subject: Re: [Mingw-users] MinGW + Boost On 2008-05-23 13:12Z, Mei, Longyu wrote: > > Anybody can tell me the steps to build boost under MinGW? Do I need > MSYS? Have you tried these instructions? http://www.boost.org/doc/libs/1_35_0/more/getting_started/windows.html ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ MinGW-users mailing list Min...@li... You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users **************************************************************** The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to Del...@an... - and destroy all copies of this information, including any attachments, without reading or disclosing them. Thank you. |
From: Weddington, E. <ewe...@cs...> - 2008-05-23 14:35:53
|
> -----Original Message----- > From: min...@li... > [mailto:min...@li...] On Behalf > Of Greg Chicares > Sent: Friday, May 23, 2008 7:22 AM > To: MinGW Users List > Subject: Re: [Mingw-users] MinGW + Boost > > On 2008-05-23 13:12Z, Mei, Longyu wrote: > > > > Anybody can tell me the steps to build boost under MinGW? Do I need > > MSYS? > > Have you tried these instructions? > > http://www.boost.org/doc/libs/1_35_0/more/getting_started/windows.html > Hi Greg, Did you see the note right at the top of that page?: "Other command shells, such as MinGW's MSYS, are not supported-they may or may not work." I've also tried recently to build Boost with MinGW/MSYS, and it failed for me. Eric Weddington |
From: Lothar M. <mi...@lo...> - 2008-05-23 14:41:32
|
Hi, > Did you see the note right at the top of that page?: > "Other command shells, such as MinGW's MSYS, are not supported-they may > or may not work." > > I've also tried recently to build Boost with MinGW/MSYS, and it failed > for me. > > Eric Weddington You should not use msys. Simply use mingw gcc and bjam with a command line like this: bjam link=static --build-dir=C:\Temp\boost_delete_me --toolset=gcc stage No sh.exe, no configure, nothing. It works fine except for some of the unicode stuff, which is skipped. Best regards, Lothar |
From: Mei, L. <LM...@an...> - 2008-05-23 14:41:32
|
You can build boost without MSYS. Just build bjam and use bjam it will work. But you may need to add boost to path and include system environment variables. I am using Windows XP. Just built with error. But that error is not related to build procedure. -----Original Message----- From: min...@li... [mailto:min...@li...] On Behalf Of Weddington, Eric Sent: Friday, May 23, 2008 9:31 AM To: MinGW Users List Subject: Re: [Mingw-users] MinGW + Boost > -----Original Message----- > From: min...@li... > [mailto:min...@li...] On Behalf > Of Greg Chicares > Sent: Friday, May 23, 2008 7:22 AM > To: MinGW Users List > Subject: Re: [Mingw-users] MinGW + Boost > > On 2008-05-23 13:12Z, Mei, Longyu wrote: > > > > Anybody can tell me the steps to build boost under MinGW? Do I need > > MSYS? > > Have you tried these instructions? > > http://www.boost.org/doc/libs/1_35_0/more/getting_started/windows.html > Hi Greg, Did you see the note right at the top of that page?: "Other command shells, such as MinGW's MSYS, are not supported-they may or may not work." I've also tried recently to build Boost with MinGW/MSYS, and it failed for me. Eric Weddington ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ MinGW-users mailing list Min...@li... You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users **************************************************************** The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to Del...@an... - and destroy all copies of this information, including any attachments, without reading or disclosing them. Thank you. |
From: Mei, L. <LM...@an...> - 2008-05-23 17:37:47
|
After using GCC4.3 instead of the default gcc 3.*, I have the following four failures. Anybody can give me some advices? 1. "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -mthreads -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_DYN_LINK=1 -DNDEBUG -I"." -c -o "my_binary\boost\bin.v2\libs\test\build\gcc-mingw-4.3.0\release\threadin g-multi\debug.o" "libs\test\src\debug.cpp" ...failed gcc.compile.c++ my_binary\boost\bin.v2\libs\test\build\gcc-mingw-4.3.0\release\threading -multi\debug.o... 2. "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -mthreads -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o "my_binary\boost\bin.v2\libs\test\build\gcc-mingw-4.3.0\release\link-sta tic\threading-multi\debug.o" "libs\test\src\debug.cpp" ...failed gcc.compile.c++ my_binary\boost\bin.v2\libs\test\build\gcc-mingw-4.3.0\release\link-stat ic\threading-multi\debug.o... 3. "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -mthreads -DBOOST_ALL_DYN_LINK=1 -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o "my_binary\boost\bin.v2\libs\wave\build\gcc-mingw-4.3.0\release\threadin g-multi\instantiate_cpp_grammar.o" "libs\wave\src\instantiate_cpp_grammar.cpp" ...failed gcc.compile.c++ my_binary\boost\bin.v2\libs\wave\build\gcc-mingw-4.3.0\release\threading -multi\instantiate_cpp_grammar.o... 4. "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -mthreads -DBOOST_ALL_DYN_LINK=1 -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o "my_binary\boost\bin.v2\libs\wave\build\gcc-mingw-4.3.0\release\threadin g-multi\instantiate_predef_macros.o" "libs\wave\src\instantiate_predef_macros.cpp" ...failed gcc.compile.c++ my_binary\boost\bin.v2\libs\wave\build\gcc-mingw-4.3.0\release\threading -multi\instantiate_predef_macros.o... ...failed updating 4 targets... ...skipped 19 targets... ...updated 252 targets... Thanks, James **************************************************************** The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to Del...@an... - and destroy all copies of this information, including any attachments, without reading or disclosing them. Thank you. |
From: Mei, L. <LM...@an...> - 2008-05-23 17:46:14
|
We have a Linux application and want to port it to Windows by using MinGW. Just wondering the existing make file can be used without any change? If yes, how can we do that? There is no make.exe as Cygwin does. Thanks, James **************************************************************** The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to Del...@an... - and destroy all copies of this information, including any attachments, without reading or disclosing them. Thank you. |
From: Chris S. <ir0...@gm...> - 2008-05-23 23:37:23
|
> We have a Linux application and want to port it to Windows by using > MinGW. Just wondering the existing make file can be used without any > change? If yes, how can we do that? There is no make.exe as Cygwin does. There is mingw32-make: http://downloads.sourceforge.net/mingw/mingw32-make-3.81-20080326-2.tar.gz?modtime=1208467248&big_mirror=1 Cheers! Chris -- Chris Sutcliffe http://emergedesktop.org |