Re: purpose of the c wrapper

2009-06-07 Thread Vincent Torri
On Sun, 7 Jun 2009, Ralf Wildenhues wrote: * Vincent Torri wrote on Sun, Jun 07, 2009 at 08:33:42AM CEST: 1) remove the wrapper for cegcc and mingw32ce host (see the patch i sent) 2) remove the #ifndef __MINGW32CE__ the in windows wrapper, they are useless. Thank you for explaining. I

Re: purpose of the c wrapper

2009-06-04 Thread Roumen Petrov
Ralf Wildenhues wrote: Hello Vincent, Bob, [SNIP] But anyway, I don't see how the current git code generates C wrappers for wince. The host is usually xxx-mingw32ce and will match patterns like {*-}*-mingw*, i.e. it will generate wrappers as for mingw32. But the C-wrapper-code of

Re: purpose of the c wrapper

2009-06-04 Thread Ralf Wildenhues
Hello Vincent, * Vincent Torri wrote on Wed, Jun 03, 2009 at 09:32:50PM CEST: Does there exist a simulator for wince? Even if not now, can there exist one at some point? In that case, we should strive to not make things harder for that setup. there is a simulator for Windows CE that can

Re: purpose of the c wrapper

2009-06-04 Thread Vincent Torri
Hey, * Vincent Torri wrote on Wed, Jun 03, 2009 at 09:32:50PM CEST: Does there exist a simulator for wince? Even if not now, can there exist one at some point? In that case, we should strive to not make things harder for that setup. there is a simulator for Windows CE that can be run on

Re: purpose of the c wrapper

2009-06-04 Thread Vincent Torri
On Thu, 4 Jun 2009, Roumen Petrov wrote: Ralf Wildenhues wrote: Hello Vincent, Bob, [SNIP] But anyway, I don't see how the current git code generates C wrappers for wince. The host is usually xxx-mingw32ce and will match patterns like {*-}*-mingw*, i.e. it will generate wrappers as

Re: purpose of the c wrapper

2009-06-04 Thread Ralf Wildenhues
Hi Charles, * Charles Wilson wrote on Thu, Jun 04, 2009 at 04:20:12AM CEST: Ralf Wildenhues wrote: (On most w32 systems, a script without an .exe extension would match such a rule as well, but that's not the case for example on GNU/Linux - w32 cross compiles and with some weird Cygwin

Re: purpose of the c wrapper

2009-06-03 Thread Vincent Torri
On Tue, 2 Jun 2009, Bob Friesenhahn wrote: On Tue, 2 Jun 2009, Vincent Torri wrote: So, the first line is the link of my real binary (evil_suite.exe), then the compilation of the c wrapper is done and is failing. If I run make install, evil_suite.exe is not installed. This is expected

Re: purpose of the c wrapper

2009-06-03 Thread Ralf Wildenhues
Hello Vincent, Bob, Bob already noted that the primary reason for any kind of wrapper, be that a shell script or a compiled C program, for uninstalled programs is so that uninstalled shared libraries are found when these programs are executed. Another reason is that, on some platforms, programs

Re: purpose of the c wrapper

2009-06-03 Thread Charles Wilson
Ralf Wildenhues wrote: (On most w32 systems, a script without an .exe extension would match such a rule as well, but that's not the case for example on GNU/Linux - w32 cross compiles and with some weird Cygwin mount options.) ...such as the default (only) mount mode under the upcoming

purpose of the c wrapper

2009-06-01 Thread Vincent Torri
function, etc...). I can't port correctly it if I don't know the purpose of the C wrapper. I have asked several times that question on that list and I have never had a precise answer. So I ask again: what the precise purpose of the C wrapper ? Don't hesitate to give a long and detailed

Re: purpose of the c wrapper

2009-06-01 Thread Bob Friesenhahn
On Mon, 1 Jun 2009, Vincent Torri wrote: what the precise purpose of the C wrapper ? Don't hesitate to give a long and detailed answer. The purpose is to allow unininstalled (in build tree) executables and libraries to be executed. Without this, it is difficult to debug and test

Re: purpose of the c wrapper

2009-06-01 Thread Vincent Torri
On Mon, 1 Jun 2009, Bob Friesenhahn wrote: The purpose is to allow unininstalled (in build tree) executables and libraries to be executed. Without this, it is difficult to debug and test the uninstalled executables. It does not sound like Windows CE offers enough functionality to make

Re: purpose of the c wrapper

2009-06-01 Thread Bob Friesenhahn
On Mon, 1 Jun 2009, Vincent Torri wrote: It does not sound like Windows CE offers enough functionality to make this possible. So what should be done to disable the execution of the c wrapper on that platform only ? Do you mean build, or do you mean execution? Something needs to be