On Mar 12, 2015, at 9:44 AM, René J.V. Bertin <[email protected]> wrote:

> Not really MacPorts-related, but is it true that /Library/Frameworks
> is no longer searched automatically by the compiler and linker, as
> suggested by https://codereview.qt-project.org/108400 ?

Not sure how you're concluding that; that bug report doesn't say
anything about the Apple toolchain. Maybe QMake was changed to ignore
/Library/Frameworks, or maybe Apple's prerelease toolchain does so.
Current Clang and ld64 certainly still search /Library/Frameworks.

% echo 'int main() {}' | /opt/local/bin/clang-mp-3.7 -x c - -o /dev/null -v 
-Wl,-v
clang version 3.7.0 (trunk 231583)
Target: x86_64-apple-darwin14.1.0
Thread model: posix
 "/opt/local/libexec/llvm-3.7/bin/clang" -cc1 -triple 
x86_64-apple-macosx10.10.0 -emit-obj -mrelax-all -disable-free -main-file-name 
- -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim 
-masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 236.3 -v 
-dwarf-column-info -resource-dir 
/opt/local/libexec/llvm-3.7/bin/../lib/clang/3.7.0 -fdebug-compilation-dir 
/Users/larryv/Projects/MacPorts/git-svn/trunk/dports -ferror-limit 19 
-fmessage-length 120 -stack-protector 1 -mstackrealign -fblocks 
-fobjc-runtime=macosx-10.10.0 -fencode-extended-block-signature 
-fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o 
/var/folders/t2/1q6yn0z16n9_d8s578lh4ndm0000gn/T/--9e1e98.o -x c -
clang -cc1 version 3.7.0 based upon LLVM 3.7.0svn default target 
x86_64-apple-darwin14.1.0
ignoring nonexistent directory "/usr/local/include"
#include "..." search starts here:
#include <...> search starts here:
 /opt/local/libexec/llvm-3.7/bin/../lib/clang/3.7.0/include
 /usr/include
 /System/Library/Frameworks (framework directory)
 /Library/Frameworks (framework directory)
End of search list.
 "/opt/local/libexec/llvm-3.7/bin/ld" -demangle -dynamic -arch x86_64 
-macosx_version_min 10.10.0 -o /dev/null 
/var/folders/t2/1q6yn0z16n9_d8s578lh4ndm0000gn/T/--9e1e98.o -v -lSystem 
/opt/local/libexec/llvm-3.7/bin/../lib/clang/3.7.0/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld  PROJECT:ld64-236.3
configured to support archs: i386 x86_64 x86_64h armv6 armv7 armv7s armv7m arm64
Library search paths:
        /usr/lib
        /usr/local/lib
Framework search paths:
        /Library/Frameworks/
        /System/Library/Frameworks/
%

vq
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to