* Re: insight6.8
@ 2008-04-04 13:05 Hans Kester
0 siblings, 0 replies; 6+ messages in thread
From: Hans Kester @ 2008-04-04 13:05 UTC (permalink / raw)
To: insight; +Cc: Keith Seitz, denis.pilat, davem
I get the same error (MSYS/MinGW with gcc-3.4.5). Do the warnings in
the logging below have something to do with it?
Configuring in ./gdb with MinGW:
...
checking for cygwin... no
checking for ELF support in BFD... yes
checking for Tcl configuration... configure: WARNING: Can't find Tcl
configuration definitions
checking for X... no
configure: WARNING: no enhanced curses library found; disabling TUI
checking for iconv... no, consider installing GNU libiconv
updating cache ./config.cache
...
Configuring in ./gdb with native Cygwin:
...
checking for cygwin... yes
checking for ELF support in BFD... yes
checking for Tcl configuration... found
/gcc/build-i686-elf/insight/tcl/win/tclConfig.sh
checking for Tk configuration... found
/gcc/build-i686-elf/insight/tk/win/tkConfig.sh
checking for Tcl private headers. dir=win... found in
/gcc/insight-6.8/tcl/generic
checking for Tk private headers... found in /gcc/insight-6.8/tk/generic
checking for Itcl private headers. srcdir=../../../insight-6.8/gdb...
checking for Itk private headers. srcdir=../../../insight-6.8/gdb...
checking for Itcl configuration... found
/gcc/build-i686-elf/insight/itcl/itcl/itclConfig.sh
checking for Itk configuration... found
/gcc/build-i686-elf/insight/itcl/itk/itkConfig.sh
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, const char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
updating cache ./config.cache
...
Hans
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: insight6.8
2008-04-04 13:45 ` insight6.8 Denis PILAT
@ 2008-04-08 8:47 ` Hans Kester
0 siblings, 0 replies; 6+ messages in thread
From: Hans Kester @ 2008-04-08 8:47 UTC (permalink / raw)
To: Denis PILAT; +Cc: Keith Seitz, insight
My colleague Hector Soto found a patch:
gdb/configure.ac @ 1448
- *-*-cygwin*)
+ *-*-cygwin* | *-*-mingw*)
After running autoconf in the GDB directory you can build as before.
(Or hack configure manually at line 23083.)
You can also specify --with-tclconfig=/your_build_dir/tcl/win
--with-tkconfig=/your_build_dir/tk/win at configure time, but that is
just working around the real issue that configdir is not initialized.
Keith: could you patch this at the appropriate places?
Hans
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: insight6.8
2008-04-02 17:31 ` insight6.8 Keith Seitz
2008-04-03 9:26 ` insight6.8 Denis PILAT
@ 2008-04-04 13:45 ` Denis PILAT
2008-04-08 8:47 ` insight6.8 Hans Kester
1 sibling, 1 reply; 6+ messages in thread
From: Denis PILAT @ 2008-04-04 13:45 UTC (permalink / raw)
To: Keith Seitz; +Cc: insight
> I've tried this locally without success. Modules outside of
> gdb/insight keep failing unable to find alloca.h. Is there something
> else I can try? Is there a page on the web somewhere that describes
> building gdb on cygwin for mingw32 hosts?
Unfortunately not.
If you have a recent cygwin environment installed (with "Devel"
package, including flex sub-package), you can run
export CPPFLAGS="-mno-cygwin"
export CFLAGS="-mno-cygwin"
export CC=gcc
export AR=ar
export WINDRES=windres
export MAKEINFO=makeinfo
/cygdrive/blablabla/insight-6.8/configure --host=i686-mingw32
--target=i686-mingw32 --disable-nls --disable-werror
make
Hope it helps
>
> If I can reproduce this here, I might be able to be of more help.
> [Note I said, "might"! :-)]
>
> Keith
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: insight6.8
2008-04-02 17:31 ` insight6.8 Keith Seitz
@ 2008-04-03 9:26 ` Denis PILAT
2008-04-04 13:45 ` insight6.8 Denis PILAT
1 sibling, 0 replies; 6+ messages in thread
From: Denis PILAT @ 2008-04-03 9:26 UTC (permalink / raw)
To: Keith Seitz; +Cc: insight, davem
Hi Keith,
I put Dave in CC.
I successfully build gdb.exe and insight.exe using cygwin environment
(with CPPFLAGS=CFLAGS="-mno-cygwin") but also using MSYS environment and
gcc3.4.2.
1st problem:
gdb.exe was built automatically, but to get insight.exe I had to do
"make insight.exe" into the gdb subdir.
2nd problem:
For installation, insight.exe was not installed after "make install"
but only after "make install-gdbtk" done into the gdb subdir only.
3rd problem:
Then when running insight.exe I get the error message : "Interperter
insight: unrocognized
I don't know why by some library are not linked when building
insight.exe (libgui, tcl ...) , a problem in the configure may be but I
cant find where (it works fine under linux host) ?
Any idea ?
Dave, how do you build on windows host to get a pure windows binary
(without cygwin dll dependencies) ?
Denis
Keith Seitz wrote:
> Denis PILAT wrote:
>
>> Is there any changes in the way to build insight ?
>
> Nothing of which I am aware. Perhaps I botched the patch?
>
>> P.S.I'm building within cygwin environment using (CFLAGS and CPPFLAGS
>> set to ="-mno-cygwin")
>> I'm using "--build=i686-pc-cygwin --host=i686-mingw32"
>
> I've tried this locally without success. Modules outside of
> gdb/insight keep failing unable to find alloca.h. Is there something
> else I can try? Is there a page on the web somewhere that describes
> building gdb on cygwin for mingw32 hosts?
>
> If I can reproduce this here, I might be able to be of more help.
> [Note I said, "might"! :-)]
>
> Keith
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: insight6.8
2008-04-01 10:23 insight6.8 Denis PILAT
@ 2008-04-02 17:31 ` Keith Seitz
2008-04-03 9:26 ` insight6.8 Denis PILAT
2008-04-04 13:45 ` insight6.8 Denis PILAT
0 siblings, 2 replies; 6+ messages in thread
From: Keith Seitz @ 2008-04-02 17:31 UTC (permalink / raw)
To: Denis PILAT; +Cc: insight
Denis PILAT wrote:
> Is there any changes in the way to build insight ?
Nothing of which I am aware. Perhaps I botched the patch?
> P.S.I'm building within cygwin environment using (CFLAGS and CPPFLAGS
> set to ="-mno-cygwin")
> I'm using "--build=i686-pc-cygwin --host=i686-mingw32"
I've tried this locally without success. Modules outside of gdb/insight
keep failing unable to find alloca.h. Is there something else I can try?
Is there a page on the web somewhere that describes building gdb on
cygwin for mingw32 hosts?
If I can reproduce this here, I might be able to be of more help. [Note
I said, "might"! :-)]
Keith
^ permalink raw reply [flat|nested] 6+ messages in thread
* insight6.8
@ 2008-04-01 10:23 Denis PILAT
2008-04-02 17:31 ` insight6.8 Keith Seitz
0 siblings, 1 reply; 6+ messages in thread
From: Denis PILAT @ 2008-04-01 10:23 UTC (permalink / raw)
To: insight
Hi Keith,
I saw you integrated Dave Murphy's MINGW patches, that's a good
enhancement for us.
I've tried to build an insight 6.8 under windows XP host, but after the
configure and a make without any problem, I get only gdb.exe.
Usually, the presence of additional package from gdb distribution (tcl,
tk, libgui ..) is enought to build insight along with gdb.
Is there any changes in the way to build insight ?
Thanks
Denis
P.S.I'm building within cygwin environment using (CFLAGS and CPPFLAGS
set to ="-mno-cygwin")
I'm using "--build=i686-pc-cygwin --host=i686-mingw32"
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-04-08 8:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-04 13:05 insight6.8 Hans Kester
-- strict thread matches above, loose matches on Subject: below --
2008-04-01 10:23 insight6.8 Denis PILAT
2008-04-02 17:31 ` insight6.8 Keith Seitz
2008-04-03 9:26 ` insight6.8 Denis PILAT
2008-04-04 13:45 ` insight6.8 Denis PILAT
2008-04-08 8:47 ` insight6.8 Hans Kester
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).