At Fri, 27 Feb 2004 3:04am +0100, Eric Auer wrote:

> PS: I went on trying to compile ClamAV.net in DOS / DJGPP. This AUTOCONF
> stuff is a big pain in the a**! I had to install megabytes of Linux tools
> (sed, textutils, fileutils) in DJGPP. Luckily they have them precompiled
> on delorie.com ... but then still AUTOCONF tries to use filenames beyond
> 8+3 limits. I could download a new autoconf from delorie.com, but the one
> which comes with ClamAV already is modified for ClamAV, it seems? SUGGESTION:
> Could somebody with CygWin please compile clamscan WITHOUT stripping the
> relocation info? Then I could probably run it in DOS + WDOSX *directly* even
> as PE console executable. How does the CygWin / PE build process differ from
> building DOS / CWSDPMI executables? After all it is the same compiler!??
> ./configure --disable-bzip2 --disable-pthreads --disable-cr \
>   --disable-urandom --disable-clamav --disable-clamuko --without-sigtool \
>   --without-clamd --without-clamdscan --without-clamav-milter --disable-dsig
> plus reduce SUBDIRS to libclamav and clamscan --> should create a lightweight
> and GNU gmp library free version of only the CLAMSCAN binary. Question is how
> to avoid stripping relocations, or even better build a DOS binary. You can put
> an -all-static in the clamscan/Makefile entry for clamscan$(EXEEXT) to link
> statically without DLLs...

Cygwin programs are linked against cygwin1.dll ... even mingw programs 
need msvcrt.dll ... it may not be possible, but don't quote me...

-uso.



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to