This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Could we add relative path in LDFLAGS?
- From: loody <miloody at gmail dot com>
- To: loody <miloody at gmail dot com>, "binutils at sourceware dot org Development" <binutils at sourceware dot org>
- Date: Wed, 4 Mar 2015 09:45:20 +0800
- Subject: Re: Could we add relative path in LDFLAGS?
- Authentication-results: sourceware.org; auth=none
- References: <CANudz+uRpf0AY_NvbYeGgun169K+V_0eF0M7q=NhFg=5pDEUwg at mail dot gmail dot com> <20150303231056 dot GB4146 at vapier>
hi Mike:
> are you talking about binutils or something else ?
Sorry for not describing my question clear.
I try to corss-compile openocd with below configureation
./configure --build=x86_64-linux-gnu --host=i686-w64-mingw32
--enable-ft2232_ftd2xx --with-ftd2xx-win32-zipdir="../CDMv2-10"
CPPFLAGS="-I../win32/include/libusb-1.0 -I../win32/include/libusb"
LDFLAGS="-L../win32/lib" LIBS=-lusb-1.0 --disable-werror
and during linking stage it complain it cannot find the ../win32/lib.
And it will be ok if I give the absolute address in LDFLAGS.
Does that mean we cannot put relative path in LDFLAGS?
appreciate your kind help,