[cfe-dev] First shot at Bug 4127 - The clang driver should support cross compilation

Marc J. Driftmeyer mjd at reanimality.com
Wed Jan 11 10:25:59 PST 2012


Not to nitpick but as a stickler for clear English should not the 
following read as:
> [
>      {
> 	"target": "*arm-non-linux-gnueabi*",
> 	"c-include-dirs": "/gcc/path:/libc/path",
> 	"cxx-include-root": "/some/other/path"
>      }
> ]

- Marc

On 01/09/2012 01:00 PM, Sebastian Pop wrote:
> Hi,
>
> The attached patch uses the JSON parser to read the target
> from a config file.  I would like to get some opinions on this
> patch before we go further to fix
> http://llvm.org/bugs/show_bug.cgi?id=4127
>
> In a first implementation, I would like to have at least the following
> information registered in the config file:
>
> [
>      {
> 	"target": "*arm-none-linux-gnueabi*",
> 	"c-include-dirs": "/gcc/path:/libc/path",
> 	"cxx-include-root": "/some/other/path"
>      }
> ]
>
> In a second step, I would like to add the full explicit path to the
> assembler, to the linker, the -L paths, and the -I paths.
>
> I would like the default config file to be created by the configure scripts,
> and all the logic that is currently executed at each clang compilation
> to be moved to configure time.
>
> One other point to be discussed is the place where to install these
> target config files: in the current patch I am looking in targets, a subdir
> of the install dir.  Is there a better place to put these config files?
>
> Thanks,
> Sebastian
> --
> Qualcomm Innovation Center, Inc is a member of Code Aurora Forum
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

-- 
Marc J. Driftmeyer
Email :: mjd at reanimality.com <mailto:mjd at reanimality.com>
Web :: http://www.reanimality.com
Cell :: (509) 435-5212
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120111/818d1461/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mjd.vcf
Type: text/x-vcard
Size: 317 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120111/818d1461/attachment.vcf>


More information about the cfe-dev mailing list