Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Please help me compile on Mac!!???
Please help me compile on Mac!!??? [message #1796476] Sun, 14 October 2018 12:23 Go to next message
Eclipse UserFriend
I'm running a simple program that works perfectly on visual studio. I'm on a Mac and I installed eclipse and llvm. Here is my error:

03:31:08 **** Incremental Build of configuration Debug for project pointClass ****
Info: Internal Builder is used for build
clang++ -v -native -o pointClass test.bc point.bc
clang: error: unknown argument: '-native'
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0 https://www.minimilitia.mobi/ https://www.applock.ooo/ https://www.7zip.vip/

Thread model: posix

03:31:08 Build Finished (took 78ms)

How can I fix this? Also, how can I permanently include iostream in every project (instead of adding the path to each individual project)?

Many thanks.

[Updated on: Sun, 14 October 2018 16:23] by Moderator

Re: Please help me compile on Mac!!??? [message #1796798 is a reply to message #1796476] Fri, 19 October 2018 01:12 Go to previous messageGo to next message
Eclipse UserFriend
How did you create your project? You should just be able to select MacOSX GCC as the toolchain and it should work. I recommend not selecting the LLVM toolchains, they are buggy and should probably be removed.
Re: Please help me compile on Mac!!??? [message #1863291 is a reply to message #1796476] Wed, 24 January 2024 05:08 Go to previous message
Eclipse UserFriend
I would love to be involved every step of the way with your project
Quick Draw

[Updated on: Fri, 26 January 2024 21:04] by Moderator

Previous Topic:Indexer marking method "Invalid Arguments"...
Next Topic:"could not be resolved" errors, but Go To Definition works!
Goto Forum:
  


Current Time: Sun Aug 31 22:24:32 EDT 2025

Powered by FUDForum. Page generated in 0.22886 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top