Hi,
cygwin's GCC is incompatible with MSVC. You can try to build Pythia with MINGW's GCC which should produce a MSVC compatible library. But really - your best option with Pythia6 is to use Linux, even if it's in a virtual machine.
Cheers, Axel.
On 2010-03-21 01:59, Wei Xie wrote:
> Hi Axel
>
> I'm trying to have a local compile of ROOT with pythia using MSVC. Could
> it be a problem if the libpythia.dll is compiled using gcc instead of
> cl.exe?
>
> Thanks
> --Wei
>
> Axel Naumann wrote:
>> Hi Wei, >> >> makePythia6.wingcc is for cygwin gcc, if you want to use cl then use >> makePythia6.win. You will need a Windows fortran compiler, though, which >> as far as I know is hard to find these days... >> >> Cheers, Axel. >> >> On 2010-03-21 01:26, Wei Xie wrote: >>> I got the package from: >>> >>> ftp://root.cern.ch/root/pythia6.tar.gz. >>> >>> and run the " makePythia6.wingcc" to produce shared library for further >>> ROOT compile but got the following err: >>> >>> cl : Command line error D8021 : invalid numeric argument >>> '/Wl,--export-all-symbo >>> ls' >>> >>> Does that mean I need a few more patches or I need a different compiler >>> other than cl.exe? >>> >>> Thanks >>> -- Wei >>> >>> >>
This archive was generated by hypermail 2.2.0 : Sun Mar 21 2010 - 17:50:01 CET