Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 22 Jun 2004 10:31:08 +0400 From: 3APA3A <3APA3A AT SECURITY DOT NNOV DOT RU> Reply-To: 3APA3A <3APA3A AT SECURITY DOT NNOV DOT RU> Organization: http://www.security.nnov.ru Message-ID: <469097362.20040622103108@SECURITY.NNOV.RU> To: Reini Urban Cc: cygwin AT cygwin DOT com Subject: Re[2]: Compiling DLLs to be used from native Win32 application In-Reply-To: <40D7268E.5020106@x-ray.at> References: <40D7268E DOT 5020106 AT x-ray DOT at> MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Note-from-DJ: This may be spam Dear Reini Urban, No, your guess is wrong. 3proxy is natively developed to compile under Windows and compiles perfectly with both gcc -mno-cygwin and VC++ and though it can be compiled with cygwin I see no reason for that (3proxy has build-in code to install and run as Windows service and it will not work if compiled in POSIX environment). What I wanted is to attach clamav antivirus to native Windows application as library (without need to have clamd running, because under Windows it's quite unstable). Patching 0.5Mb of libclamav code to compile natively under Windows is too large peace of work. --Monday, June 21, 2004, 10:18:54 PM, you wrote to cygwin AT cygwin DOT com: RU> Dave Korn schrieb: >> Got any exciting new vuln reports coming up soon then? Found a security >> hole or three in cygwin? RU> I guess that he just wants to add this proxy being loaded dynamically: RU> http://www.security.nnov.ru/soft/3proxy/howtoe.asp#GCCWIN >> # How to compile 3proxy with GCC under Windows >> >> Extract source files from 3proxy.tgz (for example with tar -xzf >> 3proxy.tgz command if you have tar installed) Use make -f RU> Makefile.win > command. If you want to use POSIX emulation Cygwin RU> library (normally >> you shouldn't) - use make -f Makefile.unix instead. Windows specific >> things (like installing as service) will not be available if compiled >> with Cygwin emulation. RU> Reading this I spotted a false information. It is possible to run it as RU> service: via cygrunsrv. RU> $ less /usr/share/doc/Cygwin/cygrunsrv.README -- ~/ZARAZA Особую проблему составляет алкоголизм. (Лем) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/