XP64 problem

2006-06-27 Thread skaller
cygwin stuff (ran cygsetup just before the test). Not sure about the rosella build (dual boot with Linux with which I'm mailing) The segfaulting program is a statically linked generated C++ program. Budgie cygwin is running under Wow64. -- John Skaller skaller at users dot sf dot net Felix

Re: XP64 problem

2006-06-27 Thread skaller
On Tue, 2006-06-27 at 09:54 -0500, mwoehlke wrote: skaller wrote: FWIW, I run Cygwin on Win2K3 R2 x64 with no problems. Well Cygwin 'runs' with no problems. The problem here seems to be a problem a with a binary generated by gcc et al, that is, it isn't really a Cygwin problem

Re: dlopen problems

2006-03-29 Thread skaller
or directory when I try to load a module.dll Try dlopen(./module.dll,flags) -- John Skaller skaller at users dot sf dot net Felix, successor to C++: http://felix.sf.net -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com

Re: dlopen() bug

2006-03-23 Thread skaller
On Thu, 2006-03-23 at 06:02 -0800, Gary Zablackis wrote: --- skaller [EMAIL PROTECTED] wrote: On Wed, 2006-03-22 at 03:35 +0100, Bernhard Loos wrote: If the C++library declares its calls as 'extern C' (as it is done in the example), AFAIK there shouldn't be any problem

Re: dlopen() bug (new testcase)

2006-03-22 Thread skaller
://f.web.de/?mc=021193 -- 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/ -- John Skaller skaller at users dot sf dot net Felix

Re: dlopen() bug

2006-03-21 Thread skaller
' and/or before other code, and it is too late when a dll is called half way through the program. -- John Skaller skaller at users dot sf dot net Felix, successor to C++: http://felix.sf.net -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com

Re: dlopen() bug

2006-03-21 Thread skaller
and the other on XP64. -- John Skaller skaller at users dot sf dot net Felix, successor to C++: http://felix.sf.net -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ

RE: Precision of doubles and stdio

2006-03-06 Thread skaller
On Mon, 2006-03-06 at 18:40 +, Dave Korn wrote: This is utter fantasy. Floating point hardware either conforms to IEEE754, which specifies the exact algorithms to be used in different rounding modes, or it is broken. .. as Intel found out :)) -- John Skaller skaller at users dot

Re: Precision of doubles and stdio

2006-03-05 Thread skaller
operations is implementation defined ,and the implementor may even say the accuracy is undefined. This is not a bug, it is the proper thing for a language standard. -- John Skaller skaller at users dot sourceforge dot net Async PL, Realtime software consultants Checkout Felix: http

Re: [Newbie] Installer Question

2006-03-01 Thread skaller
On Wed, 2006-03-01 at 20:34 -0500, Michael Banks wrote: We have developed a product for the medical industry, Why don't you set up a mirror on a portable and just plug it into the target computer, install Cygwin, via LAN connection, then install your product? -- John Skaller skaller at users

Linux vs Cygwin linkage

2006-02-18 Thread skaller
-undefined --no-allow-shlib-undefined Allows (the default) or disallows undefined symbols in shared libraries. Can I fix that with -Wl,--no-allow-shlib-undefined switch to gcc, so Linux and Cygwin behave the same? -- John Skaller skaller at users dot sf dot net Felix

Re: Linux vs Cygwin linkage

2006-02-18 Thread skaller
On Sat, 2006-02-18 at 11:52 -0700, Eric Blake wrote: According to skaller on 2/18/2006 11:39 AM: I have found some unexpected differences between Cygwin and Linux. FYI I think Cygwin is right, and Linux is wrong. No, they are both right, in their own way. Windows .dlls cannot use

Re: portability notes

2006-02-15 Thread skaller
that on which the code will be run. - -- Life is short - so eat dessert first! I can live with that :) -- John Skaller skaller at users dot sf dot net Felix, successor to C++: http://felix.sf.net -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com

RE: portability notes

2006-02-15 Thread skaller
On Wed, 2006-02-15 at 17:41 +, Dave Korn wrote: On 15 February 2006 16:48, skaller wrote: [] Why are you asking this on the Cygwin list? Because I expect it is subscribed to by people who are dealing with portability issues on a regular basis, especially those who are using Cygwin

Re: wrong macro definition in pthread.h

2006-02-13 Thread skaller
if this is a bug .. it is shared by Linux..:) -- John Skaller skaller at users dot sf dot net Felix, successor to C++: http://felix.sf.net -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http

RE: _kbhit

2006-02-13 Thread skaller
arises naturally in a dynamically linked application, where for one reason or another you end up mixing and matching plugins. After all, cygwin1.dll is just a Windows dll. -- John Skaller skaller at users dot sf dot net Felix, successor to C++: http://felix.sf.net -- Unsubscribe info: http

Re: How Can I Use the FtpCommand Function with Cygwin?

2006-02-13 Thread skaller
? -- John Skaller skaller at users dot sf dot net Felix, successor to C++: http://felix.sf.net -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http

Re: How Can I Use the FtpCommand Function with Cygwin?

2006-02-13 Thread skaller
On Mon, 2006-02-13 at 20:18 -0800, Brian Dessent wrote: skaller wrote: Cygwin does not use .lib files, and the naming of libraries is that of unix. So you use -lfoo to link with libfoo.a (or sometimes libfoo.dll.a) which is the import library for the DLL. Can you tell me how you

portability notes

2006-02-13 Thread skaller
WSAID_CONNECTEX typedef BOOL (PASCAL FAR * LPFN_CONNECTEX) ( IN SOCKET s, ... #define WSAID_CONNECTEX \ {0x25a207b9,0xddf3,0x4660,{0x8e,0xe9,0x76,0xe5,0 ... -- John Skaller skaller at users dot sf dot net Felix, successor to C++: http://felix.sf.net -- Unsubscribe info

Re: help with dynamic linkage?

2006-02-11 Thread skaller
, but flx_dynlink_t has a compiler generated default constructor. flx_libinit_t has the same problem (no default or copy ctors, no assignment operator). I fixed flx_dynlink_t and initialised the string 'filename' to and now all the non-pthread tests work! -- John Skaller skaller at users dot sf dot net Felix

help with dynamic linkage?

2006-02-10 Thread skaller
it? -- John Skaller skaller at users dot sf dot net Felix, successor to C++: http://felix.sf.net -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http

Re: help with dynamic linkage?

2006-02-10 Thread skaller
On Sat, 2006-02-11 at 16:11 +1100, skaller wrote: hi, I'm having some problem getting dynamic linkage to work. Oops .. hmm .. just got gdb backtrace on another experiment. Now we're crashing initialising standard I/O in the rtl. BTW the rtl dll name is libflx_dynamic.dll. Program received

Re: help with dynamic linkage?

2006-02-10 Thread skaller
On Fri, 2006-02-10 at 21:31 -0800, Brian Dessent wrote: skaller wrote: Program received signal SIGSEGV, Segmentation fault. 0x610ae938 in pthread_key_create () from /usr/bin/cygwin1.dll (gdb) bt *sigh* Not an actual fault. Ah, ok. Thanks. But now it is worse! I type continue

Re: help with dynamic linkage?

2006-02-10 Thread skaller
On Sat, 2006-02-11 at 00:59 -0500, Igor Peshansky wrote: On Sat, 11 Feb 2006, skaller wrote: hi, I'm having some problem getting dynamic linkage to work. The linkage model is like this: mainline - load time librtl.dll

Re: help with dynamic linkage?

2006-02-10 Thread skaller
On Sat, 2006-02-11 at 17:46 +1100, skaller wrote: cripts call that platform 'nocygwin'. It would help if you told us what linker switches you're using. No special switches, just -L and -l. Sorry, small lie: I'm using -shared to build the dll. -- John Skaller skaller at users dot sf