Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 371994 Details for
Bug 474748
Accepting clang as an official supported compiler on OSX
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
compile_stubs script as header for snapshot.cpp normally generated by pbxproj
ld64-136-compile_stubs.h (text/plain), 1.59 KB, created by
Reza Jelveh
on 2014-03-07 20:57:22 UTC
(
hide
)
Description:
compile_stubs script as header for snapshot.cpp normally generated by pbxproj
Filename:
MIME Type:
Creator:
Reza Jelveh
Created:
2014-03-07 20:57:22 UTC
Size:
1.59 KB
patch
obsolete
>static const char *compile_stubs = >"#!/bin/csh\n" >"\n" >"# Attempt to find the architecture.\n" >"# First look through the command line args.\n" >"set arch=unknown\n" >"set link_cmd=(`cat link_command`)\n" >"while ( $#link_cmd > 0 )\n" >" if ( \"$link_cmd[1]\" == \"-arch\" ) then\n" >" set arch=$link_cmd[2]\n" >" endif\n" >" shift link_cmd\n" >"end\n" >"\n" >"# look for an explicit arch file\n" >"if ( \"$arch\" == \"unknown\" ) then\n" >" if ( -e arch ) then\n" >" set arch=`cat arch`\n" >" endif\n" >"endif\n" >"\n" >"if ( \"$arch\" == \"unknown\" ) then\n" >"echo \"***** Unable to determine architecture.\"\n" >"exit 1\n" >"endif \n" >"\n" >"# Create .dylibs for each file in the dylib_stubs directory.\n" >"if ( -e dylib_stubs ) then\n" >" set files=`cd dylib_stubs ; echo *`\n" >" mkdir -p dylibs\n" >" foreach file ($files)\n" >" if ( ! -e dylibs/$file ) then\n" >" clang -arch $arch -c -fno-builtin -o tmp_object.o -x c dylib_stubs/$file\n" >" ld -arch $arch -dylib -macosx_version_min 10.1 -no_version_load_command -o dylibs/$file tmp_object.o\n" >" endif\n" >" end\n" >"endif\n" >"\n" >"# Create .frameworks for each file in the framework_stubs directory.\n" >"if ( -e framework_stubs ) then\n" >" set files=`cd framework_stubs ; echo *`\n" >" foreach file ($files)\n" >" if ( ! -e frameworks/$file.framework ) then\n" >" clang -arch $arch -c -fno-builtin -o tmp_object.o -x c framework_stubs/$file\n" >" mkdir -p frameworks/$file.framework\n" >" ld -arch $arch -dylib -macosx_version_min 10.1 -no_version_load_command -o frameworks/$file.framework/$file tmp_object.o\n" >" endif\n" >" end\n" >"endif\n" >"\n" >"# Clean up.\n" >"rm -f tmp_object.o\n" >;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 474748
:
371990
|
371992
| 371994 |
372004
|
372008
|
372012
|
372020
|
383032
|
394024
|
395260