mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
2a4842f3cc
update README with libc++ build instructions and samples fix mavericks SDK download link (pointed to 10.8) build xar only for <=10.5 add -g0 to the clang invocation command to avoid dsymutil from being run (debugging is not supported, but I guess you don't want to debug the resulting binaries anyway if you build them on a non OS X system) attempt to make the toolchain less path dependent (gcc still breaks though, because of hardcoded paths), but clang and cctools can be moved now update cctools to 845 add DISABLE_LTO_SUPPORT option (DISABLE_LTO_SUPPORT=1 ./build.sh) to disable linking against libLTO.so add support for 32 bit systems add FreeBSD support update PACKAGE script
42 lines
688 B
C++
42 lines
688 B
C++
#include <typeindex>
|
|
#include <type_traits>
|
|
#include <chrono>
|
|
#include <tuple>
|
|
#include <scoped_allocator>
|
|
#include <cstdint>
|
|
#include <cinttypes>
|
|
#include <system_error>
|
|
#include <array>
|
|
#include <forward_list>
|
|
#include <unordered_set>
|
|
#include <unordered_map>
|
|
#include <random>
|
|
#include <ratio>
|
|
#include <cfenv>
|
|
#include <codecvt>
|
|
#include <regex>
|
|
#include <thread>
|
|
#include <mutex>
|
|
#include <future>
|
|
#include <condition_variable>
|
|
#include <ctgmath>
|
|
#include <cstdbool>
|
|
|
|
#include <iostream>
|
|
|
|
int main()
|
|
{
|
|
auto test = []() -> int
|
|
{
|
|
return 0;
|
|
};
|
|
|
|
std::mutex m;
|
|
std::thread t(test);
|
|
t.join();
|
|
|
|
std::cout << "Hello World!" << std::endl;
|
|
|
|
return 0;
|
|
}
|