cygwin を使用して C++ プログラムを Linux から Windows に移植しようとしています。現在、ビルドとリンクは正常に行われていますが、プログラムを起動すると、すぐにエラーで終了します。gdb で試してみると、次の「不明なターゲット例外」の結果が得られます。
$ gdb ../../bin/ARCH.cygwin/release/myApp
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This GDB was configured as "i686-pc-cygwin"...
(no debugging symbols found)
(gdb) run
Starting program: bin/ARCH.cygwin/release/myApp.exe
[New thread 1452.0x99c]
gdb: unknown target exception 0xc0000139 at 0x77149eed
Program exited with code 030000000471.
You can't do that without a process to debug.
gdb にない場合、次のようなダイアログが表示されます。
私が間違ったことをしたかもしれないアイデアはありますか?
ありがとう。
-ウィリアム