#1769: External libraries: moving towards multiarch library directory structure ------------------------------------+--------------------------------------- Reporter: bmundim | Owner: Type: defect | Status: review Priority: major | Milestone: ET_2015_05 Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: ExternalLibraries HDF5 Multiarch ------------------------------------+---------------------------------------
Comment (by bmundim):
Replying to [comment:13 knarf]:
Replying to [comment:10 bmundim]:
In the long run: couldn't we find standard paths (where possible)
using something like (for C):
{{{ echo | cpp -Wp,-v 2>&1 | perl -p0e 's/.*include <...> search starts
here:.(.*)End of search list.*/\1/sm; s/(\n|^) /:/g'
}}}
This command, as it stands, doesn't work on a 'CentOS release 6.4'
system (gordon). It returns 'Ambiguous output redirect.'. However I think it is on the right track of parsing the system include paths.
Could it be that you are using tcsh? The redirect is bash syntax (and
that script is bash).
My bad... yes, you are right!