・・・って、当方LS_COLORの設定に四苦八苦した程度の椰子でして、
ウニ上の再コンパイルなんて経験サッパリ(^^;
取り敢えず、sorceforgeでmsysと必要っぽいDTKのソース取って来たので、
まずはperlをconfigure・・・。
"THIS PACKAGE SEEMS TO BE INCOMPLETE.."とかって蹴られました(笑)。
プログラム・ソフトの使い方は PC 初心者板やソフトウェア板へ。
ウイルス、ハッキング・クラッキングを求めるような発言は禁止です。
Javascript は Web 制作板、CGI は Web プログラミング板へ。
業界談義、愚痴はプログラマ板へどうぞ。
ゲーム関係の話題はゲーム製作板へどうぞ。
ネタ、板とは関係の無い話題はご遠慮ください。」
gdbで動かした結果
Program received signal SIGSEGV, Segmentation fault.
0x00511006 in lab () from C:¥msys¥1.0¥local¥lib¥SDL_image.dll
(gdb) up
#1 0x77f5b2bc in ntdll!LdrSetAppCompatDllRedirectionCallback () from ntdll.dll
>test.o(.text+0x2c6):test209.c: undefined reference to `InitializeFlatSB@4'
>test.o(.text+0x2ec):test209.c: undefined reference to `FlatSB_SetScrollProp@16'
>test.o(.text+0x2ec):test209.c: undefined reference to `FlatSB_SetScrollProp@16'
>test.o(.text+0x2ec):test209.c: undefined reference to `FlatSB_SetScrollProp@16'
That MinGW bison have more that one problem (cant create m4 process, and
sometimes is confused when called from Makefile). Flex is also not working
properly (CreateProcess fails) :-(
(gdb) b main
Breakpoint 1 at 0x4012f8: file cp.c, line 3.
(gdb) s
The program is not being run.
(gdb) r
Starting program: C:¥wd¥cp.exe
Breakpoint 1, main () at cp.c:3
3 int main(void) {
(gdb) s
6 GetStartupInfo(&si);
(gdb) s
7 CreateProcess(NULL, TEXT("notepad.exe"), NULL, NULL, FALSE, 0, NULL,
NULL, &si, &ps);
(gdb) s
Program received signal SIGSEGV, Segmentation fault.
0x77e63de6 in RegisterWaitForInputIdle () from C:¥WINNT¥system32¥KERNEL32.DLL
lpCommandLine
[in, out] Pointer to a null-terminated string that specifies
the command line to execute. The maximum length of this
string is 32K characters.
The Unicode version of this function, CreateProcessW, will
fail if this parameter is a const string.
> [Mingw-users] Announcement: GCC-3.4.2 release candidate avalable
> Pre-compiled headers appear to work on at least two systems (NT4 and XP).
> I have not tested other windows versions. Please consider this feature a "technology preview".
> * libgcj requires libiconv. You can download sources or prebuilt
> binaries from the maintainers. See:
> http://www.gnu.org/software/libiconv.
> My testing has been done with libiconv-1.9.2 built (using mingw) as a
> static lib.
3.4.2
スタティックだけど、libiconvがリンクされてる。
-finput-charset=が動く。
conversion from IBM-SJIS to UTF-8 not supported by iconv
conversion from NEC-SJIS to UTF-8 not supported by iconv
conversion from WIN31J to UTF-8 not supported by iconv
conversion from CP942 to UTF-8 not supported by iconv
‾$ dpkg -l | grep gnat
ii gnat-3.3 3.3.4-13 The GNU Ada compiler
ii gnat-3.3-doc 3.3.4-13 Documentation for the GNU Ada compiler (gnat
だが、
あぁだからだめなのか
cross-gnatgccってことか。
mingwのサイトにあるprebuild binaryがいるな。
でもマンドクサイからAda使わない事にしますた
d:¥mingw¥bin¥..¥lib¥gcc-lib¥mingw32¥3.2.3¥..¥..¥..¥..¥mingw32¥bin¥ld.exe: warning: cannot find entry symbol _DllMainCRTStartup@12; defaulting to 00401000
d:/mingw/bin/../lib/gcc-lib/mingw32/3.2.3/../../../libmingw32.a(main.o)(.text+0x97):main.c: undefined reference to `WinMain@16'
checking for library containing strerror... configure: error: Link tests are not
allowed after GCC_NO_EXECUTABLES.
make: *** [configure-target-libiberty] Error 1