hi,
little prehistory:
worked with wx 2.4.2.(devpack), but an error in in wx forced me to build it
(2.5.2.) my own.
this was kind of amazing
(->
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?8:sss:62043:200407:idibmoffcimlnechjpko#b),
and took me about 3 month, solved it by the linking params:
H:\Programme\Debugger\Dev-Cpp\bin\g++.exe
-D__DEBUG__ libase.o config.o lb_odbc.o LIBASE_private.res -o
"libase.exe" -L"H:/Programme/Debugger/Dev-Cpp/lib"
-L"H:/Programme/Debugger/Dev-Cpp/lib/gcc_lib"
-mwindows -mthreads -Wl,--subsystem,windows -mwindows -lwxbase25d_odbc -l
wxmsw25d_core -lwxbase25d -lwxtiffd
-lwxjpegd -lwxpngd -lwxzlibd -lwxregexd -lwxexpatd -lkernel32 -luser32 -lg
di32 -lcomdlg32 -lwinspool -lwinmm -lshell32
-lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -l
odbc32 -lgmon -pg -g3 -march=i686 -mmmx
and cxx:
-D__WXDEBUG__
-D__WXMSW__
-D __GNUWIN32__
well, use dev-cpp 4.9.8.10.(gcc version 3.2 (mingw special 20020817-1), GNU
gdb 5.1.1 (mingw experimental)),
and I can't debugg it anymore, nothing will happen:
pre-promt
(gdb)
promt
post_promt
Reading symbols from :#path#\libase.exe...done.
frames-invalid
pre-promt
(gdb)
promt
post_promt
pre-promt
(gdb)
promt
with it go's an error wether in wx or my app: 'Can't verify memory struct -
all bets are off!',
but I can debugg non wx apps, so I guess, the linking might be the problem.
any ideas?
cheers achim
|