顯示具有 mingw 標籤的文章。 顯示所有文章
顯示具有 mingw 標籤的文章。 顯示所有文章

2015年7月3日 星期五

must modify to compile iVerilog 2015-07-01 HEAD version

Below change is for Mingw32 to build icarus iverilog 2015-07-01 git HEAD version
and mingw must have pthread dev package installed


\MinGW\msys\1.0\home\lcf\iverilog\config.h (3 hits)
    Line 38: // lcf
    Line 41: // lcf
    Line 44: // lcf
# undef HAVE_TIMES
//# undef HAVE_IOSFWD
#define HAVE_IOSFWD
// lcf
//# undef HAVE_GETOPT_H
#define HAVE_GETOPT_H
// lcf
// # undef HAVE_INTTYPES_H
#define HAVE_INTTYPES_H
// lcf
# undef HAVE_LIBIBERTY_H


   
\MinGW\msys\1.0\home\lcf\iverilog\libveriuser\config.h (1 hit)
    Line 42: // lcf

#include  stdint.h     // angle bracket
// lcf
#endif /* IVL_config_H */   


   
\MinGW\msys\1.0\home\lcf\iverilog\libveriuser\priv.h (1 hit)
    Line 24: // lcf
# include  stdio.h   // angle bracket
#include "config.h"
// lcf   



\MinGW\msys\1.0\home\lcf\iverilog\vhdlpp\vhdlpp_config.h (1 hit)
    Line 33: // lcf
// # undef HAVE_GETOPT_H
#define HAVE_GETOPT_H
// lcf
// # undef HAVE_INTTYPES_H
#define HAVE_INTTYPES_H
   

   
\MinGW\msys\1.0\home\lcf\iverilog\vpi\sys_priv.h (1 hit)
    Line 25: // lcf
#include  stdint.h    // angle bracket
// lcf   
   
   
   
\MinGW\msys\1.0\home\lcf\iverilog\vvp\config.h (3 hits)
    Line 43: // lcf
    Line 49: // lcf
    Line 56: // lcf
// # undef HAVE_IOSFWD
#define HAVE_IOSFWD
// lcf

# undef HAVE_DLFCN_H
# undef HAVE_DL_H
// # undef HAVE_GETOPT_H
#define HAVE_GETOPT_H
// lcf
# undef HAVE_LIBREADLINE
# undef HAVE_READLINE_READLINE_H
# undef HAVE_LIBHISTORY
# undef HAVE_READLINE_HISTORY_H
// # undef HAVE_INTTYPES_H
#define HAVE_INTTYPES_H
// lcf

2014年10月18日 星期六

build lua dll module in mingw/msys

1. install mingw/msys , base_mingw,base_msys,g++
2. postinstall msys

3. download & build lua 5.1.5
    make mingw
4. write a dll4lua.c   
    gcc  -O2  -c  -o dll4lua.o  dll4lua.c
    gcc  -O    -shared -o dll4lua.dll  dll4lua.o -llua

2014年10月16日 星期四

xpsp3 install mingw using mingw-get-setup , after download ok , need run postinstall script/batch file

as title say:
   When online install msys + mingw , using  mingw-get-setup
after install ok , need to run postinstall script, otherwise
msys.bat environment don't recongnize your mingw tool-chain.

車 和 東 , 兩個 不喜歡的 簡體字 寫法

  车 是 草書 形變, 很難 和 小孩 解釋 為什麼 長這樣(反正你就背), 反而 車 就 很形象. 东 是 草書 形變, 很難 和 小孩 解釋 為什麼 長這樣( 反正你就背), (古人觀察到 日出東方, 東 是 木頭 加 日 , 那個方向 是 東.