Groups | Search | Server Info | Login | Register
Groups > comp.os.os2.programmer.misc > #166
| From | "Dave Saville" <dave@invalid.invalid> |
|---|---|
| Newsgroups | comp.os.os2.programmer.misc |
| Subject | Re: EMX problem |
| Date | 2011-04-04 19:01 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <fV45K0OBJxbE-pn2-T1if6jK8e8Ni@localhost> (permalink) |
| References | <fV45K0OBJxbE-pn2-Po0DVV9WtXII@localhost> <fV45K0OBJxbE-pn2-UW9Gwdgwbd4f@localhost> <slrnipjvr6.kmq.nospam-abuse@powdermilk.math.berkeley.edu> |
On Mon, 4 Apr 2011 17:27:02 UTC, Ilya Zakharevich <nospam-abuse@ilyaz.org> wrote: > On 2011-04-03, Dave Saville <dave@invalid.invalid> wrote: > > 2) Now compiles clean with -Zomf. But there is a problem in that YAOS > > thinks the max command line is 260 chars. Luckily it was a #define so > > I bumped it to 1024. Testing one function and it crashes. Tracked it > > down to the 1024. reducing to 807 and it stops crashing. Can't see > > why. Just for fun I recomplied at 1024 without the -Zomf - and it does > > not crash. But in this case I need to fix the original problem of the > > link failing on __16_DosSmSetTitle (I commented the call out for the > > test.) > > a) Update the max command line to the correct value, 32K. > > b) Read what the crash errorlog tells you. > Not easy when there is none - Just a SYS* message. GDB won't look at an exe compiled with -Zomf and compiling without it does not show the problem. Not producing a core file and I can't remember how to turn it back on. > When porting, I always use -Zstack 8000; this way, the stack overflows > are first caught by the Unix porters, not by me. > Nice one. Working again - it was the stack size. Thanks. -- Regards Dave Saville
Back to comp.os.os2.programmer.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Re: EMX problem "Dave Saville" <dave@invalid.invalid> - 2011-04-03 20:31 +0000
Re: EMX problem Ilya Zakharevich <nospam-abuse@ilyaz.org> - 2011-04-04 17:27 +0000
Re: EMX problem "Dave Saville" <dave@invalid.invalid> - 2011-04-04 19:01 +0000
Re: EMX problem Ilya Zakharevich <nospam-abuse@ilyaz.org> - 2011-04-04 21:30 +0000
Re: EMX problem "Dave Saville" <dave@invalid.invalid> - 2011-04-05 13:43 +0000
Re: EMX problem Ilya Zakharevich <nospam-abuse@ilyaz.org> - 2011-04-05 18:55 +0000
Re: EMX problem "A.D. Fundum" <what.ever@neverm.ind> - 2011-04-06 13:24 +0200
csiph-web