Problems with Geant and root-libraries

I have a problem with root. I want to use ROOT with Geant4 under Windows 7 (with cygwin and vc++). I installed ROOT via the windows-installer without any problems. Then, I included the following line to Geant´s “binmake.gmk” to include the ROOT-libraries:

“LDLIBS1 += -L$(ROOTSYS)/lib -lCore -lCint -lTree -lHist -lMatrix -lMathCore -lRIO -lNet -lThread”

When I am now trying to run the Geant Novice-example (N01), I get the following message:

“$ make
Making dependency for file
Using global libraries …
Linking exampleN01
LINK : fatal error LNK1181: file “libCore.a” cannot be opened.
make: *** [D:/g4work/bin/WIN32-VC/exampleN01] Error 2”

I search the root/libs directory and there are no .a files, just .lib and .exp Files.
Can anyone help me to solve this problem?
Thanks a lot!!!


This is more likely to be a problem with the Geant4 provided makefile than with ROOT. Windows does not support the library prefix .a, only .lib and .dll (So the problem is that the makefile is somehow requesting the .a)