This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ld not found
- From: René Berber <r dot berber at computer dot org>
- To: cygwin at cygwin dot com
- Date: Thu, 08 Feb 2007 17:31:23 -0600
- Subject: Re: ld not found
- Openpgp: url=hkp://random.sks.keyserver.penguin.de
- References: <45CB9FB5.5070205@sun.com>
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/