This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: [RFA] Make LIB_PATH configurable


On Thu, Apr 26, 2001 at 03:33:39PM -0400, Christopher Faylor wrote:
>On Thu, Apr 26, 2001 at 10:44:16AM -0700, H . J . Lu wrote:
>>This approach seems odd to me. I have been doing cross-compiling for
>>a long time. I have found Ian's approach works much better. When I
>>install for cross-compiling, I do
>>
>># make install DESTDIR=/var/tmp/foo
>>
>>Then I copy things from /var/tmp/foo to the right places for cross
>>compiling. In many cases, you really don't want to mimic the native
>>directory structure for cross compiling.
>
>I believe that Cygwin is a special case which has special needs.  When
>you are creating a cross-toolchain for Windows, Cygwin is often part of
>the build tree.  It installs files in .../lib and ../lib/w32api when you
>type "make install" at the top level.  There is no need to copy anything
>like you would if you were cross-building for Solaris or HP/UX, or
>whatever.
>
>Obviously we don't have the sources for Solaris or HP/UX so we have to
>go to the effort of copying include files and libraries from a "cygwin
>system" to your cross environment.  The Cygwin libraries and include
>files are installed automatically.

To clarify:

Obviously we don't have the sources for Solaris or HP/UX so we have to
go to the effort of copying include files and libraries for those
systems.  When building a "cygwin system" the Cygwin libraries and
include files are installed automatically.

cgf


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