Compiling Code On A Windows Machine

Thanks to Valerie I managed to install ROOT on my Windows XP machine the easy way.

My next question is, how does one compile code in such an environment? In UNIX we could just do gcc file.c -o file.exe ya? What about for a Windows/ROOT combo? I have downloaded the Visual C++ stuff as described on the ROOT site, but I have no clue what to do next.

Thanks!

Yi-Zen

You could simply compile you script using ACLiC or you can use “cl /c myfile.cpp” (both assumes you made sure the PATH has been set to include the compiler)

Cheers,
Philippe

[quote=“wanderer”]
My next question is, how does one compile code in such an environment? In UNIX we could just do gcc file.c -o file.exe ya? What about for a Windows/ROOT combo? I have downloaded the Visual C++ stuff as described on the ROOT site, but I have no clue what to do next.[/quote]
Please read:
[ul] root.cern.ch/root/HowtoWindows.html
gentit.home.cern.ch/gentit/rootandvisual7/
muenster.de/~naumana/root.html
phys.uu.nl/~nick/winroot.html
root.cern.ch/root/HowtoLink.html[/ul]
To provide the further explanation I would like to know
[ul] 1. Whether you know how to compile things for Unix/ROOT combo
2. Whether you know how to compile things for Windows (with no ROOT)[/ul]
Thank you

Another useful link:
phys.uu.nl/~nick/winroot.html