Mail Archives: djgpp/2001/06/28/08:30:11
ywshei <ywshei AT tao DOT iam DOT ntu DOT edu DOT tw> wrote:
[...]
> checking for gcc... no
> checking for cc... no
> configure: error: no acceptable cc found in $PATH
Ah!, so now we're back on well-known grounds. This is the typical
behaviour if you don't have a "djgpp/share/config.site" file installed
or in use. If you had, it would have set up the
TEST_FINDS_EXE=Y
flag for bash, and these test (and lost of similar ones) would have
started to work out of the box.
> My environment is as following:
> OSTYPE=msdosdjgpp
> PATH='c:/win98;c:/win98/command;c:/dos;c:/nc;c:/masm32/bin;d:/ultraedt;c:/di
> slin
> /djgpp;d:/djgpp/bin;'
This is bad, for two reasons:
*) The ordering of directories in the PATH is wrong. DJGPP should be at the
front of the list, not at the end.
*) You have at least one other compiler-like tool (masm32) in the path,
at the same time as DJGPP. This doesn't have to cause problems, but it
can. And if it does, they'll be hard to find, for all but the most
experienced DOS/DJGPP users.
But there's even worse a problem: at least in the excerpt you show, there is
no DJGPP variable. Please re-do the generation of your environment list.
From a plain command.com prompt (not inside Bash, as the one you've sent),
type:
set > environ.lst
and be sure you sent the whole environ.lst, not just one screenful of
text.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -