From: cdamond AT uclink2 DOT berkeley DOT edu Newsgroups: comp.os.msdos.djgpp Subject: (2) problems: debug info, newline conversion (pdcurses) Date: 14 Dec 1996 01:46:25 GMT Organization: Some damn place Lines: 10 Message-ID: <58t0th$nh@agate.berkeley.edu> NNTP-Posting-Host: beshaba.hip.berkeley.edu Originator: lucifer AT agate DOT berkeley DOT edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp When I compile with gcc on Linux, configured to produce coff output, the -g flag doesn't seem to work. Is the debug info supplied by DOS-native djgpp different from that supplied by Linux-native gcc? It shouldn't be, I think, but gdb/fsdb both are unable to read the debug info I compile in. Yes, I'm using the coff executable, not the stubified one. I'm having some trouble with pdcurses and the \n character. Apparently DOS converts \n into newline, not newline-carriage return. Is there an easy way to automatically convert \n into \n\r? I tried taking out the call to nonl(), and it still didn't do the conversion.