This creates an executable however this does not run (Windows gives me an error to do with the application being 16 bit -dont understand this- that cant run on 64 bit) clang++ -std=c++11 -stdlib=libc++ -target i386-pc-win32 class1.cpp class2.cppįor some reason whenever I use the -target flag I get an error stating that the compiler cannot find the header however any other time it never moans. ![]() ![]() ![]() Here is what I've tried: clang++ -std=c++11 -stdlib=libc++ -arch x86_64 class1.cpp class2.cpp. I want to compile my source files to create an executable that can be ran on a windows machine however I cant get Clang to generate me an executable. I have created a C++ application using Xcode on my Mac using the Clang compiler.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |