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 Message-ID: <41E78D96.1090308@familiehaase.de> Date: Fri, 14 Jan 2005 10:15:02 +0100 From: "Gerrit P. Haase" Organization: Esse keine toten Tiere User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.3) Gecko/20040910 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Mikael_=C5sberg?= CC: Cygwin List Subject: Re: Anyone creating programs using the MySQL C api using Cygwin? References: <006101c4f88e$1b24af50$0300a8c0 AT mindcooler> In-Reply-To: <006101c4f88e$1b24af50$0300a8c0@mindcooler> Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j0E9Hw1v009566 Mikael Åsberg wrote: > Hello, I installed a native windows version of MySQL (4.1.18) and tried > to compile a C program using the MySQL C API using GCC (version 3.3.3 > cygwin special). The program compiles and links without any errors or > warnings (maximum warning level, c99-mode) but segfaults near the end. I > haven't been able to reproduce the segfault using linux...so my question > is: I am silly thinking I could use a native Windows version of MySQL > with Cygwin without any problems? I guess I could use MSVC++, of which I > own a legitimate copy, but I am trying to use it as little as possible. > Here's the Makefile I used for my simple test program: It should work with a Cygwin version of MySQL client. Gerrit -- =^..^= -- 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/