[Gambas-devel] Yet more Cygwin

Brandon Bergren bdragon at ...185...
Sat Nov 27 08:02:19 CET 2004


Quoting Alberto Torres <kungfoobar at ...176...>:

> Yay! What qt are you trying to use? win32 port of gpl'd qt/x11? or
> windows evaluation version? I guess it's the win32 port
>
kde-cygwin project's port of QT X11/Free. So, yeah, the GPL'd one. And it
requires X11. So it'll be slow.

I'm having link issues -- libtool is flat out refusing to statically link in
libstdc++. (Does anyone know how to force static libstdc++ to be used?)
 
Once I get past this one, I'm going to look into making a Fox-toolkit
interface.
(Fox is REALLY fast on Windows and Unix.)

A wxWidgets interface would be neat too, but wx isn't my cup o tea.

> 
> On Thu, 25 Nov 2004 19:17:01 -0600, Brandon Bergren
> <bdragon at ...185...> wrote:
> > 
> > Info files generated:
> > gb.compress
> > gb.db
> > gb.debug
> > gb.eval
> > gb <-- Doesn't crash gbi now! :)
> > gb.net <-- Functionally broken; I had to comment out some stuff. Cygwin
> lacks a
> > couple of reentrant functions, have to look into more later.
> > gb.vb
> > 
> > Currently broken:
> > gb.qt <-- link issues. It might be my fault, I was using a binary release,
> and
> > the problems I'm getting look ABI related. I'm going to compile QT from
> scratch
> > tonight and see if that fixes it.
> > gb.sdl <-- I have it disabled while I do other things.
> > 
> > To fix the crash I was having with gbi, I had to upgrade libltdl, make
> > distclean, and reconfigure.
> > 
> > Also, I still have to manually #define USE_LTDL 1 in config.h.
> > 
> > The newest stable, Libtool 1.5.10, works great in cygwin.  I manually
> copied
> > /usr/local/share/libtool/libltdl into place, but normally you upgrade with
> > 'libtoolize --ltdl', right?  The version in the gambas tree has a
> copyright
> > date of 2000 (!)
> > 
> > Libtool can be had at:
> > http://www.gnu.org/software/libtool/libtool.html
> > 
> > After upgrading libltdl, I had to comment out the two 'lt_dlopen_flag ='
> lines
> > in the code.
> > I think those aren't required anymore, and it doesn't appear to exist in
> ltdl.h
> > anymore.
> > 
> > After that, make completed fine, and make install completed fine (Except
> that
> > the development environment and all the example programs don't work
> because
> > gb.qt is missing.)
> > 
> > The runtime works great! I tested against gb.vb.
> > 
> > Here's a 'screenshot'
> > 
> > ---------
> > 
> > sf_bbergren at ...187... ~/build/gambas-0.99.RC3/examples/Basic/testing
> > $ cat win1.class
> > STATIC PUBLIC SUB Main()
> > 
> > DIM Nfoo AS INTEGER
> > 
> > FOR Nfoo = 1 TO 5
> > PRINT VB.Left("Helloi",Nfoo)
> > NEXT
> > 
> > END
> > 
> > sf_bbergren at ...187... ~/build/gambas-0.99.RC3/examples/Basic/testing
> > $ gbc
> > OK
> > 
> > sf_bbergren at ...187... ~/build/gambas-0.99.RC3/examples/Basic/testing
> > $ gbx
> > H
> > He
> > Hel
> > Hell
> > Hello
> > 
> > sf_bbergren at ...187... ~/build/gambas-0.99.RC3/examples/Basic/testing
> > $
> > -----------
> > 
> > It's simple, but it works! I used lib gb.vb with it, no runtime problems
> or
> > anything :)
> > 
> > If recompiling QT fixes gb.qt, we're almost there! :)
> > --Brandon
> > 
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://productguide.itmanagersjournal.com/
> > _______________________________________________
> > Gambas-devel mailing list
> > Gambas-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-devel
> > 
> 
> 
> -- 
> DiThi
> JID: dithi at ...177...
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel







More information about the Devel mailing list