Mail Archives: djgpp/2000/08/06/02:45:37
On Sat, 5 Aug 2000, Matt Lewandowsky wrote:
> I've set TEST_FINDS_EXE, so hopefully the finding gcc thing should be
> fixed. I've just looked over the FAQ again, and didn't see any mention of
> this. This seems like a easy enough thing to solve that probably comes up
> often. Why is it not there?
Because it doesn't come up often, contrary to your assumption, and the
FAQ only holds frequent questions.
The ported packages do this transparently by providing a config.site
file which sets TEST_FINDS_EXE before running the script. I think at
least the latest Bash release comes with a global config.site that does
this as well.
> configure:1198: checking for initscr in -lcurses
> configure:1217: gcc -o conftest -g -O2 conftest.c -lcurses 1>&5
> d:/djgpp/bin/ld.exe: cannot find -lcurses
This is your problem: why doesn't GCC find libcurses.a in your lib
subdirectory? Do you have libcurses.a in there? What happens if you try
the following from the command line?
gcc -o foo foo.c -lcurses
(where foo.c is any C source file).
> This doesn't look right to me... is /djgpp/lib not in the LIBPATH by default?
%DJDIR%/lib is searched by the linker by default, otherwise the configure
script would not be able to link any of the programs it tries. You need
to make sure that libcurses.a is in the same directory as libc.a.
- Raw text -