RE: [ROOT] Problem with the new win32gcc target

From: Axel Naumann (axel-naumann@gmx.de)
Date: Sat Apr 26 2003 - 01:32:22 MEST


Hi Damir,

> > I tried to compile root on Windows (Me) with the yet unanounced
> > win32gcc target. But I didn't succeed. Here are the steps I took :
> >
[..]
> > - set up the environment variables as described for windows

Outch. That's - as Valeri already pointed out - a problem. Cygwin (and
win32gcc) smells, looks and (mostly) behaves like unix. Paths are in "/"
notation, the middle mouse button pastes, command line parameters start
with "-" etc. So the only thing you need to set is
ROOTSYS=/this/is/a/unix/path - just like with any unix.

>  I think you should set up the environment variables as
> described for "UNIX"

> > - try to do "make". It ends up at the first call of depend.sh with
> >
> > build/unix/depend.sh main/src/h2root.d "-pipe -Wall
> -Woverloaded-virtual
> > -D_DLL -Iinclude -I/usr/X11R6/include" main/src/h2root.cxx >
> > main/src/h2root.d

Just out of curiousity: What exactly is "it ends up"? Does it just get
stuck there forever, or do you get error messages?

> > Does anyone has ideas about what is going on ? or is it too early to
> try
> > without clear instructions ?

It works for me (and for Rene) - I'm positive it will also work for you.
And I'll write some build instructions, looking more or less like this:

--- Part 1: CYGWIN
* install current cygwin (bash, binutils etc), gcc, x11 from
http://sources.redhat.com
* optional: install a real winmgr, e.g.
http://kde-cygwin.sourceforge.net
* it really pays off checking the test versions of the X server
(http://xfree86.cygwin.com/devel/shadow/) - the current one, version 79,
has a pretty stable "make each X window a Windows window" mode (Rene is
going to be happy about that :-). Try the server args "-multiwindow
-clipboard -rootless".

--- Part 2: ROOT
* download root sources, tar xzf root*src.tar.gz
* cd root
* export ROOTSYS=`pwd`
* ./configure win32gcc
* make

If you can compare banchmarks (by e.g. running test/stress) between the
win32(gdk) and the win32gcc version, running on the same machine, could
you provide me with that comparison? It's not obvious which one will
win...

Cheers, Axel.



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET