Mail Archives: djgpp/1997/06/03/16:36:40
Andrew Crabtree wrote:
>
> Does anyone know offhand where the support for the
>
> set DJGPP=...djgpp.env
>
> is in the gcc code? I don't want anyone to spend time on it
> (i've done a grep for it in the source already), just
> if you could narrow my search to a few files.
It's in src/libc/crt0/c1oadef.c: the __crt0_load_environment_file()
function. All it does is a getenv on "DJGPP" and then processes the
indicated file.
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com |
| * Proud user of DJGPP! * | http://www.cs.com/fighteer |
| ObJoke: If Bill Gates were a robber, not only would he |
| shoot you, but he'd send you a bill for the bullets. |
---------------------------------------------------------------------
chkdsk");
return 0;
}
compiled it as c.exe. when run in a DOS box, it produces the message:
C:\djgpp\c>c
Volume LEEADR7 created 03-04-1997 2:17p
Volume Serial Number is 2C5D-14E1
Processing cannot continue - File allocation table bad
invoking chkdsk on the command line in the same dos box gives the usual
output. i will try the same with VC++ 4.0 at home.
if i remember the original post correctly, his problem was that chkdsk
would not be invoked at all. on the machine i tried this on at least, it
will be invoked but gives and error.
-- Sinan.
- Raw text -