Re: Crash of mysql under cygwin with g++ 3.3.1

2004-02-29 Thread Fabrice Marchal
t;mysql" client manage to connect: for instance the client which is compiled in you binaries doesnt work (i.e. "cannot connet throuch socket") while the mysql clientprovided in Mysql-4.0.18 for windows work. Fabrice -- ===========

Re: Crash of mysql under cygwin with g++ 3.3.1

2004-02-29 Thread Fabrice Marchal
at the same time. Gerrit -- ======== Fabrice Marchal http://www.inf.ethz.ch/~marchal [EMAIL PROTECTED] [EMAIL PROTECTED] +41-(0)1-632-56-79 ETH Zurich, CoLab Computational Laboratory

Re: Crash of mysql under cygwin with g++ 3.3.1

2004-02-28 Thread Fabrice Marchal
the customer will have MYSQL installed, I am afraid that there could be a conflict with HIS libMySQL.dll, is that possible? Reagrds, Fabrice Fabrice Marchal http://www.inf.ethz.ch/~marchal [EMAIL PROTECTED

Re: Crash of mysql under cygwin with g++ 3.3.1

2004-02-24 Thread Fabrice Marchal
;test", 3306, NULL, 0); } }; int main( int argc, char** args ){ Connection con; } HTH, Gerrit -- Fabrice Marchal http://www.inf.ethz.ch/~marchal [EMAIL PROTECTED]

Re: Crash of mysql under cygwin with g++ 3.3.1

2004-01-12 Thread Fabrice Marchal
exit(-1); } mysql_real_connect( mysql, "", "", "", "test", 3306, NULL, 0); } }; int main( int argc, char** args ){ Connection con; } HTH, Gerrit -- ==

Re: Code generation bug for operator new[] when -fcheck-new in GCC 3.3.1

2003-11-28 Thread Fabrice Marchal
http://cygwin.com/faq/ -- ============ Fabrice Marchal http://www.inf.ethz.ch/~marchal [EMAIL PROTECTED] [EMAIL PROTECTED] +41-(0)1-632-56-79 ETH Zurich, CoLab Computational Labor

Crash of mysql under cygwin with g++ 3.3.1

2003-11-27 Thread Fabrice Marchal
if( mysql == 0 ){ cerr << "failed to init" << endl; exit(-1); } mysql_real_connect( mysql, "", "", "", "test", 3306, NULL, 0); } }; int main( int argc, char** args ){ Connection con; } --

Re: mem allocation / heap_chunk

2003-02-28 Thread Fabrice Marchal
Max Bowsher wrote: Fabrice Marchal wrote: Larry Hall (RFK Partners, Inc.) wrote: Fabrice Marchal wrote: Randall R Schulz wrote: Fabrice, It would seem that the answer is right there on the page you referenced. You can script a change to that registry entry via the

Re: mem allocation / heap_chunk

2003-02-28 Thread Fabrice Marchal
Larry Hall (RFK Partners, Inc.) wrote: Fabrice Marchal wrote: Randall R Schulz wrote: Fabrice, It would seem that the answer is right there on the page you referenced. You can script a change to that registry entry via the Cygwin regtool script. You can do this in an install or post-install

Re: mem allocation / heap_chunk

2003-02-27 Thread Fabrice Marchal
r end user. Randall Schulz At 08:18 2003-02-27, Fabrice Marchal wrote: Hi, I have come accross the 384 Mb limit for allocating memory in cygwin. (e.g. char* pnt = new char[ long size = 500*1024*1024 ]; will not work ) I have been able to modify this using the workaround documented in the Users Guid

mem allocation / heap_chunk

2003-02-27 Thread Fabrice Marchal
know if there is a way to do the same within code so that end-users who receive a cygwin-compiled code do not require to go into the hassle of using regtool or regedit Is that feasible? Thanks fm -- Fabrice Marchal