Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Decoupling GCC From Debian By Using LLVM/Clang

  1. #11
    Join Date
    Oct 2009
    Posts
    845

    Default

    Quote Originally Posted by ryao View Post
    The fact that there is nesting is the issue, not the depth of it. The issue is that nested functions are illegal in both C and C++.
    If by illegal you mean not working in standard C as is true for all compiler extensions, even those supported by Clang/LLVM. The reason they are 'extensions' is because they implement functionality outside of the standard specs. Of course lots of functionality that ended up in the official standards started out as extensions.

    Now, if you use said extensions you need a compiler which supports them, the Linux kernel for instance make lots of use of compiler extensions simply because they want functionality not provided within the C standards. GCC has exensions, Clang/LLVM has extensions, ICC has extensions, Visual Studio has extensions, etc

    So either Clang/LLVM support these extensions which programmers have chosen to make use of, or the code must be rewritten to work without the unsupported extensions.

  2. #12
    Join Date
    Apr 2011
    Posts
    322

    Default

    Do we have a GPL alternative to Clang? Like LibreLLVMcompiler.? Is there any possibility for a portable GCC (GCC5 for example)?

  3. #13
    Join Date
    Oct 2009
    Posts
    845

    Default

    Quote Originally Posted by artivision View Post
    Do we have a GPL alternative to Clang? Like LibreLLVMcompiler.? Is there any possibility for a portable GCC (GCC5 for example)?
    Ehh... what?

  4. #14
    Join Date
    Jun 2011
    Location
    Barcelona
    Posts
    74

    Angry

    Quote Originally Posted by artivision View Post
    Do we have a GPL alternative to Clang? Like LibreLLVMcompiler.? Is there any possibility for a portable GCC (GCC5 for example)?
    What are you talking about?

  5. #15
    Join Date
    Oct 2008
    Posts
    3,102

    Default

    Quote Originally Posted by artivision View Post
    Do we have a GPL alternative to Clang?
    Yes, it's called GCC.

  6. #16

    Default One step closer to my dream...

    ...Of releasing "Linux/Linux", the Linux *Operating System* without a single line of FSF code, so they'll finally have to shut up about why everything should be Gnu/MyToiletPaper etc. Or maybe I should call it "Linus Is My God/Linux"... or maybe "I Hate Freedom / Linux"....

    Hmmm... the possibilities are endless...

    (PS, Believe it or not but I actually respect the work the FSF did on the GPL etc. It's just this naming thing that's stupid and ignores that "Gay" no longer only means "very happy", "Twitter" isn't just a sound birds make, "Linux" is no longer "just" a kernel etc.)


    </trolling>



    DISCLAIMER: Any advice offered may be used in the forthcoming conquest of your species. Alien Overlord Enterprises inc. take no responsibility for the loss of species, fauna, or planets resulting from replies to this post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •