This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ld fails when -L/lib is on the command line
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 12 Oct 2010 16:55:27 -0400
- Subject: Re: ld fails when -L/lib is on the command line
- References: <AANLkTi=MrFKWwRD9nkdH5tJe51o63iA__q70SKT9B1y2@mail.gmail.com>
- Reply-to: cygwin at cygwin dot com
On Tue, Oct 12, 2010 at 12:55:09PM -0500, Nathan Thern wrote:
>A complicated project I'm building fails on this call to gcc:
>gcc -shared <object files> -L<lib_path_in_build_tree> -L/lib
>-L/usr/lib <build_libs> <std_libs> -o .libs/cyg<lib>.dll
>-Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker
>.libs/lib<lib>.dll.a
You're going to have to clue us in on what "fails" means in this context.
See also: http://cygwin.com/problems.html
cgf
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple