This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld not found


Bill Ross wrote:

> I have ld.exe in /cygwin/bin and /cygwin/usr/i686-pc-cygwin/bin, also made 
> sure cygwin/usr/lib/gcc/i686-pc-cygwin/3.4.4/ exists. But (running from ant):
> 
> [exec] /usr/bin/gcc -D_WIN32 -o 
> /cygdrive/F/export_home/wr152514/1.1-37/client_c/../build/client_c/build_Win32/mkmerge
> 
> /cygdrive/F/export_home/wr152514/1.1-37/client_c/../client_c/tools/mkmerge.c
> 
> [exec] Bad Command or file name [exec] 
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: 
> installation problem, cannot exec

Just a guess: your PATH (Windows environment variable, not PATH under a shell)
does not include "C:/Cygwin/bin", or you are changing it in the build script for
ant... ld.exe can't run without the cygwin1.dll and other 2 libraries that are
in there.
-- 
René Berber


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]