Re: [Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-20 Thread Ximsce
Pedro Alves wrote: > So to resume what Danny was saying, exec replaces, spawn doesn't. Yeah, I hadn't taken a close enough look at the exec documentation. If you hadn't noticed, it's been a while since I coded in C. For the moment I've spliced my code into the lame frontend directly, thus remo

Re: [Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-20 Thread Pedro Alves
Danny Backx wrote: > On Wed, 2007-06-20 at 21:47 +0100, Pedro Alves wrote: >> Danny Backx wrote: >>> Even though the comments about the argv argument are accurate, this may >>> not be the right reference to quote from. >>> >>> I've been looking for reference material on MSDN. Here's one : >>> http

Re: [Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-20 Thread Pedro Alves
Danny Backx wrote: > On Tue, 2007-06-19 at 19:52 -0600, Ximsce wrote: >> Pedro Alves wrote: >>> You didn't NULL terminate the argument list: >>> http://www.opengroup.org/onlinepubs/95399/functions/exec.html >>> >>> "The argument argv is an array of character pointers to >>> null-terminated stri

Re: [Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-20 Thread Danny Backx
On Wed, 2007-06-20 at 21:47 +0100, Pedro Alves wrote: > Danny Backx wrote: > > Even though the comments about the argv argument are accurate, this may > > not be the right reference to quote from. > > > > I've been looking for reference material on MSDN. Here's one : > > http://msdn2.microsoft.co

Re: [Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-20 Thread Danny Backx
On Tue, 2007-06-19 at 19:52 -0600, Ximsce wrote: > Pedro Alves wrote: > > You didn't NULL terminate the argument list: > > http://www.opengroup.org/onlinepubs/95399/functions/exec.html > > > > "The argument argv is an array of character pointers to > > null-terminated strings. The application

Re: [Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-20 Thread Danny Backx
On Mon, 2007-06-18 at 22:41 -0600, Ximsce wrote: > The exception handling doesn't seem to be working, I'm compiling from > subversion at the moment (takes 2 hours on my sadly out-dated computer). > What version would you say is in the repository? I just committed my cegcc exception handler. Le

Re: [Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-19 Thread Ximsce
Pedro Alves wrote: > Please don't top post. Oops, sorry. I have limited experience posting to mailing lists like this one, so my apologies for poor etiquette. > Ximsce wrote: >> I don't get any int return warnings, the only output from compilation is: >> >> Info: resolving _CRT_MT by linking

Re: [Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-19 Thread Danny Backx
On Mon, 2007-06-18 at 20:16 -0600, Ximsce wrote: > I don't get any int return warnings, the only output from compilation is: > > Info: resolving _CRT_MT by linking to __imp__CRT_MT (auto-import) > > which has something to do with multi-threading, I believe. Actually this is a harmless linker mes

Re: [Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-19 Thread Danny Backx
On Mon, 2007-06-18 at 22:41 -0600, Ximsce wrote: > The exception handling doesn't seem to be working, I'm compiling from > subversion at the moment (takes 2 hours on my sadly out-dated computer). > What version would you say is in the repository? Unfortunately it's not in the repository. I'll

Re: [Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-19 Thread Pedro Alves
Please don't top post. Ximsce wrote: > I don't get any int return warnings, the only output from compilation is: > > Info: resolving _CRT_MT by linking to __imp__CRT_MT (auto-import) > > which has something to do with multi-threading, I believe. OK, this is normal. Below is > almost the exact co

Re: [Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-18 Thread Ximsce
The exception handling doesn't seem to be working, I'm compiling from subversion at the moment (takes 2 hours on my sadly out-dated computer). What version would you say is in the repository? Gdb fails saying it can't find .synce/active_connection which I'm guessing is because I'm connected t

Re: [Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-18 Thread Ximsce
I don't get any int return warnings, the only output from compilation is: Info: resolving _CRT_MT by linking to __imp__CRT_MT (auto-import) which has something to do with multi-threading, I believe. Below is almost the exact code that worked yesterday morning (I unfortunately don't have an exa

Re: [Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-18 Thread Danny Backx
On Mon, 2007-06-18 at 08:18 -0600, Ximsce wrote: > Possibly, I'm not using MSVC, just the arm-wince-cegcc-gcc by itself to > cross-compile on a linux box and then transfer the app to an iPaq > running Windows Mobile 5. I'll look into the initialization routines > and see if I can change somethi

Re: [Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-18 Thread Danny Backx
On Sun, 2007-06-17 at 22:14 -0600, Ximsce wrote: > Sorry to keep spamming the list with these newbie questions, but I'm in > a bit of a bind and my deadline approaches. > > I had a program that was working fine, and suddenly a bunch of included > methods have stopped working (causing immediate e

Re: [Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-18 Thread Pedro Alves
Ximsce wrote: > Possibly, I'm not using MSVC, just the arm-wince-cegcc-gcc by itself to > cross-compile on a linux box and then transfer the app to an iPaq > running Windows Mobile 5. I'll look into the initialization routines > and see if I can change something there, but honestly I've reverted t

Re: [Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-18 Thread Ximsce
Possibly, I'm not using MSVC, just the arm-wince-cegcc-gcc by itself to cross-compile on a linux box and then transfer the app to an iPaq running Windows Mobile 5. I'll look into the initialization routines and see if I can change something there, but honestly I've reverted the app back to a f

Re: [Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-18 Thread Pedro Alves
Pedro Alves wrote: > Ximsce wrote: > > Sorry to keep spamming the list with these newbie questions, but I'm in > > a bit of a bind and my deadline approaches. > > > > Sorry noone has replied earlier. I was hoping someone with experience on > MSVC + cegcc would step in. Didn't you say you had your

Re: [Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-18 Thread Pedro Alves
On 6/18/07, Ximsce wrote: > Hi, > > Sorry to keep spamming the list with these newbie questions, but I'm in > a bit of a bind and my deadline approaches. > Sorry noone has replied earlier. I was hoping someone with experience on MSVC + cegcc would step in. Didn't you say you had your app built w

[Cegcc-devel] force stdio from newlib/cegcc.dll

2007-06-17 Thread Ximsce
Hi, Sorry to keep spamming the list with these newbie questions, but I'm in a bit of a bind and my deadline approaches. I had a program that was working fine, and suddenly a bunch of included methods have stopped working (causing immediate exit of the program, without even flushing my log file