Thread: Compiler Issue

  1. #31
    Registered User
    Join Date
    Apr 2008
    Posts
    890
    What do you have to configure in a compiler to compile a toy first program? "g++ main.cpp" gets the job done. Pushing buttons in an IDE abstracts the programmer from what is happening, and I've seen some that never bothered to learn. So-called "senior" developers whose eyes glazed over when I asked where .class files were generated and to check if the right .jar files were in the class path. Different language, but you get the point. They were lost outside of Eclipse.

    Sad.

    Maybe I'm a dinosaur, but the first thing I learned in my first programming class was how to compile and link, and yes, IDE's were available way back then. :-)

  2. #32
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by medievalelks View Post
    What do you have to configure in a compiler to compile a toy first program? "g++ main.cpp" gets the job done.
    Install compiler to a proper path.
    Configure compiler to know where to find the include paths.
    Potentially put compiler in path.

    Pushing buttons in an IDE abstracts the programmer from what is happening, and I've seen some that never bothered to learn. So-called "senior" developers whose eyes glazed over when I asked where .class files were generated and to check if the right .jar files were in the class path. Different language, but you get the point. They were lost outside of Eclipse.
    And who says you are required to learn what is abstracted? Who says you cannot use a computer without knowing its innards?

    Maybe I'm a dinosaur, but the first thing I learned in my first programming class was how to compile and link, and yes, IDE's were available way back then. :-)
    But you strike me more of the type of a Linux user, or one who wants power over everything and wants to understand everything. This is fine, of course, but not everyone is like you and wants to take the hard path. Especially not newbies. They may not even be ready.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #33
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    Install compiler to a proper path.
    Configure compiler to know where to find the include paths.
    Potentially put compiler in path.
    The installer should handle these things for you.

    Can't we just say this is a matter of personal preference?
    bit∙hub [bit-huhb] n. A source and destination for information.

  4. #34
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by bithub View Post
    The installer should handle these things for you.
    Yes we can, just the same as the installer would configure the IDE.

    Can't we just say this is a matter of personal preference?
    I agree that we should in the context of which is better generally. For newbies, I am not so sure.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #35
    Registered User
    Join Date
    Apr 2008
    Posts
    890
    Quote Originally Posted by Elysia View Post
    And who says you are required to learn what is abstracted? Who says you cannot use a computer without knowing its innards?
    A professional C++ software developer who doesn't know what compiling and linking is wouldn't be on my team for long.

    As I've said before, there are far, far too many programmers in industry today.

  6. #36
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    That's you. I don't know if everyone else would care. I certainly would not.
    I can only expect a programmer to know how to fix compile and link errors (and that's different from having to compile from the command line).
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dev C++ Compiler, Indentation?
    By Zeusbwr in forum C++ Programming
    Replies: 3
    Last Post: 10-21-2004, 06:13 AM
  2. lcc win32 compiler download problems
    By GanglyLamb in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 08-01-2004, 07:39 PM
  3. MSVC++ vs GCC compiler issue
    By WDT in forum C++ Programming
    Replies: 9
    Last Post: 01-04-2004, 01:07 PM
  4. Special Compiler for win app's
    By Unregistered in forum Windows Programming
    Replies: 19
    Last Post: 04-26-2002, 03:52 PM
  5. Compiler Issue
    By spd_dmn in forum C++ Programming
    Replies: 5
    Last Post: 01-16-2002, 01:29 PM