[cfe-dev] cross compiling with 6.0.0 not finding gcc paths
Ken Cunningham via cfe-dev
cfe-dev at lists.llvm.org
Wed Apr 18 12:48:03 PDT 2018
On 2018-04-18, at 12:35 PM, Miller Henry via cfe-dev wrote:
> I’ve tried every path in my sysroot up to crtbegin.o and it doesn’t make a difference
On MacPorts we have patched clang-6.0 to find and use gcc7's libgcc's libstdc++ installed into non-standard locations by adding search paths and link paths to clang, controlled by a flag in the build.
You might find a useful clue in there as to how you could force a custom build of clang yourself to find what you want it to find, if a preexisting flag doesn't exist.
For these modifications, see:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev