From: <mrm...@te...> - 2004-01-17 13:18:27
|
Dave Murphy wrote: >Ignore this, I had Tcl/Tk from >http://prdownloads.sf.net/mingw/tcltk-8.4.1-1.exe?download installed, which >interfered with the build. > >It's all built and installed without errors. Unfortunately Insight doesn't >work yet - I get an error box as in the attached image. If I remove the >ide_cygwin_path stuff, I get nothing at all. > >Could someone please point me in the right direction from here? > >Dave > > > >>-----Original Message----- >>From: min...@li... >>[mailto:min...@li...]On Behalf Of Dave Murphy >>Sent: 16 January 2004 20:08 >>To: min...@li... >>Subject: RE: [Mingw-users] Insight 6.0 >> >> >>ok, I grabbed the source for gdb & readline from mingw.org done a bit of >>hacking around and I'm getting close. >> >>gcc -g0 -O2 -D_POSIX_ \ >> -o gdb.exe gdb.o main.o cli-dump.o cli-decode.o >>cli-script.o cli-cmds.o >>cli-setshow.o cli-utils.o cli-logging.o cli-interp.o mi-out.o mi-console.o >>mi-cmds.o mi-cmd-env.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o >>mi-cmd-file.o mi-cmd-disas.o mi-symbol-cmds.o mi-interp.o mi-main.o >>mi-parse.o mi-getopt.o gdbtk.o gdbtk-bp.o gdbtk-cmds.o gdbtk-hooks.o >>gdbtk-interp.o gdbtk-register.o gdbtk-stack.o gdbtk-varobj.o >>gdbtk-wrapper.o >>libgdb.a \ >> ../bfd/libbfd.a ../readline/libreadline.a ../opcodes/libopcodes.a >>./../intl/libintl.a ../libiberty/libiberty.a >> >> >> >>../libgui/src/libgui.a >>-L/c/projects/mingw/gcc/i686-pc-mingw32/insight/itcl/ >>itcl -litcl32 >>-L/c/projects/mingw/gcc/i686-pc-mingw32/insight/itcl/itk -litk >>32 -lgdi32 -lcomdlg32 -limm32 -lcomctl32 -lshell32 >>../libiberty/libiberty.a -luser32 -lwsock32 >>gdbtk.o(.text+0xb9):gdbtk.c: undefined reference to `_imp__Tcl_Merge' >>gdbtk.o(.text+0xca):gdbtk.c: undefined reference to `_imp__Tcl_Eval' >>gdbtk.o(.text+0xdb):gdbtk.c: undefined reference to `_imp__Tcl_Free' >> >>yada, yada - lots of undefined references. >> >>Looking at libtcl32.a I've found `__imp__Tcl_Merge' i.e. an extra >>underscore. My current thinking is that this may be something to do with >>compensation for msvc built libraries but I'm not quite sure how >>or where - >>does anyone have any ideas? >> >>Dave >> >> >> >>>-----Original Message----- >>>From: min...@li... >>>[mailto:min...@li...]On Behalf Of Dave Murphy >>>Sent: 15 January 2004 12:31 >>>To: min...@li... >>>Subject: [Mingw-users] Insight 6.0 >>> >>> >>>Hi, >>> >>>I'm currently building win32 native gcc toolchains for arm & powerpc >>>targets, I've put the binaries along with the diffs for the >>> >>> >>changes I made >> >> >>>along the way here - >>> >>> >>http://homepage.ntlworld.com/wintermute2002/ in case >> >> >>>they'e any use to anyone :) >>> >>>I'm now attempting to build insight 6.0 from >>>ftp://sources.redhat.com/pub/gdb/releases/ >>> >>>it looks like I'll need a MinGW ported readline source for this - >>>I've found >>>some patches for older versions but applying those results in a >>> >>> >>number of >> >> >>>errors. Does anyone know where I might get MinGW compatible source for >>>readline? >>> >>>cheers >>> >>>Dave >>> >>> > >Esta mensagem foi verificada pelo E-mail Protegido Terra. >Scan engine: VirusScan / Atualizado em 16/01/2004 / Versão: 1.4.1 >Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > > > > ------------------------------------------------------------------------ > I have a problem like you and find in Cameron Laird's personal notes on how to use C with Tcl (http://phaseit.net/claird/comp.lang.tcl/HowToC.html) a tip: WARNING: with Tcl8.0 and after, it's important to do a Tcl_FindExecutable(argv[0]) before Tcl_Init(), even though this isn't clearly documented. I use Tcl_FindExecutable("") before Tcl_Init() and works very well, after this the library can find all the files. Marcelo Módolo P.S. forgive my bad english!! |