Opened 12 years ago

Last modified 12 years ago

#34233 closed defect

apple-gcc42 doesn't honor -isysroot correctly — at Version 1

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: jeremyhu@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: apple-gcc42

Description (last modified by jeremyhu (Jeremy Huddleston Sequoia))

/opt/local/libexec/apple-gcc42/gcc/i686-apple-darwin10/4.2.1/cc1 -E -quiet -isysroot /Developer/SDKs/MacOSX10.5.sdk test.c | grep usr/include| head -n 1
# 1 "/usr/include/stdio.h" 1 3 4
~ $ /opt/local/libexec/apple-gcc42/gcc/i686-apple-darwin8/4.2.1/cc1 -E -quiet -isysroot /Developer/SDKs/MacOSX10.4u.sdk test.c | grep usr/include| head -n 1
# 1 "/usr/include/stdio.h" 1 3 4

gcc42 (and the rest of the gcc ports) are ok:

~ $ /opt/local/libexec/gcc/i386-apple-darwin8.11.1/4.2.4/cc1 -E -quiet -isysroot /Developer/SDKs/MacOSX10.4u.sdk test.c | grep usr/include| head -n 1
# 1 "/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdio.h" 1 3 4

Change History (1)

comment:1 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Description: modified (diff)
Note: See TracTickets for help on using tickets.