Andy Smith wrote:
> Andrew Hood wrote:
>
>> Andy Smith wrote:
>>
>>> Thomas Anders wrote:
>>>
>>>> -Coders,
>>>>
>>>> is there anyone who can give feedback on how/whether 5.3.1.pre2 (or
>>>> pre3/rcX when it comes out) builds on Windows with MSVC/MinGW/Cygwin?
>>
>> Builds with "Microsoft Visual Studio .NET". How do you run tests without
>> using CygWin/MinGW?
>
> Alex may have a way to do this without a sh type shell, but I have
> always used MSyS in the past. I was in a bit of a hurry this time and
> just threw together a quick Windows vm.
I do have a native Windows *sh.exe, so that might work.
> In my build script the MinGW section looks like this:
>
> mingw)
> cross-configure.sh --prefix='c:/usr/Net-SNMP' \
> --sysconfdir='c:/usr/etc' \
> --with-persistent-directory='c:/usr/persist' \
> --with-mibdirs='c:/usr/share/snmp/mibs' \
> --with-default-snmp-version=3 \
> --with-logfile='C:/usr/logs/snmpd.log' \
> --with-sys-contact='[EMAIL PROTECTED]' \
> --with-sys-location='Here' \
> --with-libs="-lregex" \
> --with-endianness=little \
> --enable-developer \
> --with-out-mib-modules="host disman/schedule disman/event-mib"
> cross-make.sh
> ;;
>
> I have cross compiled successfully on linux in the past with the above
> script. I just recently built the candidate MinGW on SUSE 10.1 but the
> errors I am getting are from the disman/schedule mib. For some reason on
> Linux the '--with-out-mib-modules' line is not working correctly. So far
> that is the only problem I have found with that version of MinGW.
Trial and terror tells me that you can use commas to seperate that.
--with-out-mib-modules="host,disman/schedule,disman/event-mib"
works.
Now to sort out the incompatible header files and cross-install extra
MinGW bits until it compiles.
--
There's no point in being grown up if you can't be childish sometimes.
-- Dr. Who
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders