This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] Add --with-sdkdir flag for controlling target library installation location
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: Jonathan Roelofs <jonathan at codesourcery dot com>
- Cc: newlib at sourceware dot org
- Date: Mon, 26 Jan 2015 17:11:05 -0500 (EST)
- Subject: Re: [PATCH] Add --with-sdkdir flag for controlling target library installation location
- Authentication-results: sourceware.org; auth=none
- References: <54BDA970 dot 9050404 at codesourcery dot com>
This is a global change that applies a change to all target libraries (i.e. not just newlib) since the top-level
configure.ac needs to be kept in sync with other projects that share it (binutils/gcc). You need to propose any such
change to all the lists (binutils and gcc).
That said, I think the change could definitely be cleaner. For example, you could make the option:
--with-target-noncanonical which would be easier for others to understand. Then, you could either override
the target_noncanonical value or not in one place (as opposed to changing everything to use sdk_dir).
-- Jeff J.
----- Original Message -----
From: "Jonathan Roelofs" <jonathan@codesourcery.com>
To: newlib@sourceware.org
Sent: Monday, January 19, 2015 8:03:44 PM
Subject: [PATCH] Add --with-sdkdir flag for controlling target library installation location
The backstory is that I'd like to be able to have newlib install target
libraries in a directory other than the one named after the target
triple, so I can customize the layout of my toolchain's sysroots.
2015-01-19 Jonathan Roelofs <jonathan@codesourcery.com>
* configure.ac: Add new flag: --with-sdkdir=.
* configure: Regenerate.
--
Jon Roelofs
jonathan@codesourcery.com
CodeSourcery / Mentor Embedded