> On 24 Oct 2018, at 7:43 pm, Malte Münch <m...@stablerock.de> wrote:
> 
> Hi,
> 
> i think you meant that command here:
> 
> /home/mamu/dr/rsb/source-builder/sb/rtems-build-dep -c gcc  -H
> python2.7/Python.h
> 
> with an additional -d flag it returns:
> 
> 
> + '[' -z header ']'
> + '[' -z gcc ']'
> + '[' -z python2.7/Python.h ']'
> + '[' header = header ']'
> ++ echo
> ++ gcc -xc -E -v -
> ++ awk 'BEGIN {flag=0;} /starts here/{flag=1;next}/End/{flag=0}flag'
> + inc_paths=

Hmm this is weird. What does:

  echo “” | gcc -xc -E -v -

output?


> + echo not-found
> not-found
> + exit 0
> 
> The python header is located under /usr/include:
> 
> [mamu@verstappen rtems]$ find / -name 'Python.h' 2> /dev/null
> /usr/include/python2.7/Python.h
> /usr/include/python3.7m/Python.h

Great. We just need to figure out where gcc’s search paths have gone. 

Chris
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to