D:\EMX\BIN\ld.exe: No such file or directory for X11.a
I think the offending line in the makefile is:
LIBS = -lX11 -lm
If I change it in any way such as -ld:/X11/lib, it will say
"D:\EMX\BIN\ld.exe: No such file or directory for d:/X11/lib.a". If I
remove it, then many statements become undefined during the compile, and
the compile aborts.
I never had this problem with vesion 0.9c of the EMX tools, but then
again, this is done on a new computer and a completely new
installation. Perhaps I missed something.
Does anyone have any suggestions?
Thanks,
T.Thoms
Put your X11 library directory on your LIBRARY_PATH environment variable.
Or set X11ROOT (or somesuch) in your makefile correctly.
Ilya
If you're trying specify the path, the parameter is a *capital* L.
gcc -o myapp.exe myprog.o another.o ... -Ld:/X11/lib -lX11 -lm
T. Thoms