Scripts to build Cross-GCC, Clang, and QEMU on Cygwin and MSYS2/MinGW-w64

2023-05-18 Thread Xu Chiheng via Gcc
Hi, friends I have some scripts to build Cross-GCC, Clang, and QEMU on Cygwin and MSYS2/MinGW-w64 at: https://github.com/xu-chiheng/Tool I hope the scripts are useful for those interested in building the projects on Windows.

Re: Using C++ in GCC is OK

2010-06-02 Thread
CC internal use. This is much like Qt. Qt essentially define a C++-like language itself. 2. gradually transform GCC code to use only the interface provided the library and use nothing else. -- 徐持恒(Chiheng Xu) Wuhan,China

Re: Using C++ in GCC is OK

2010-06-01 Thread
> But C/C++ may have an another advantage, it can use ADT(Abstract Data > Type) to extend its set of "primitive type", e.g., string. > But C++ may have an another advantage, it can use ADT(Abstract Data Type) to extend its set of "primitive type", e.g., string. -- 徐持恒(Chiheng Xu) Wuhan,China

Re: Using C++ in GCC is OK

2010-06-01 Thread
On Wed, Jun 2, 2010 at 9:55 AM, 徐持恒 wrote: > On Wed, Jun 2, 2010 at 8:38 AM, DJ Delorie wrote: >> >> "Hargett, Matt" writes: >>>> As noted earlier I think we do want to use some STL classes. >>> >>> I agree with Mark's earlier declara

Re: Using C++ in GCC is OK

2010-06-01 Thread
_OPERAND, GET_CODE, GET_MODE, XEXP, etc should be replaced by virtual methods. But I think dump and debug codes may be implemented as virtual methods. -- 徐持恒(Chiheng Xu) Wuhan,China

Re: Using C++ in GCC is OK

2010-05-31 Thread
iables, functions, classes properly to "avoid" it. -- 徐持恒(Chiheng Xu) Wuhan,China

Re: Using C++ in GCC is OK

2010-05-31 Thread
encapsulate HWI in an ADT(abstract data type). I think compiler can and should be host independent, like LLVM. -- 徐持恒(Chiheng Xu) Wuhan,China

Re: Using C++ in GCC is OK

2010-05-31 Thread
e code, which does not use template, the result is much better .It would be nice if there are another template-free encapsulation over standard template. For example, an template-free container encapsulating standard container template. -- 徐持恒(Chiheng Xu) Wuhan,China

答复: How to run gcc test suite in pure mingw32 environment?

2009-11-09 Thread
w32". For lack of time, I have not done further test. cheers. Chiheng Xu Wuhan,China -邮件原件- 发件人: Kai Tietz [mailto:ktiet...@googlemail.com] 发送时间: 2009年11月9日 19:04 收件人: Kai Ruottu 抄送: 徐持恒; gcc@gcc.gnu.org 主题: Re: How to run gcc test suite in pure mingw32 environment? 2009/11

答复: How to run gcc test suite in pure mingw32 environment?

2009-11-08 Thread
Thank you, I'll give it a try. But can you tell me why there are no testresult of MinGW or Cygwin on gcc-testresults mailinglist ? > As for MinGW testing, I think the people who work on it do indeed use the > Cygwin tools from within MSYS shell to run the tests, but I don't know how > exactly

How to run gcc test suite in pure mingw32 environment?

2009-11-08 Thread
Hi, These days, I’m trying to build gcc-4.4.2 + binutils-2.20 + gmp + mpfr in Msys+MinGW and Cygwin environment. The builds on both environments are OK, but I cannot run "make check", or "make check-gcc". Finally, I found, that, to run test, you must first install guile, autogen, tck/tk, expect,