Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14
Originally Posted by donaldfarkas OH MY GOD i had a space in the file name beginning of a and did not see it thx for everyone taking their time and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,655

    Quote Originally Posted by donaldfarkas View Post
    OH MY GOD i had a space in the file name beginning of a and did not see it

    thx for everyone taking their time and helping out
    Yes, we have all had those "Homer" moments - Doh! Myself, I get to blame our friend Fritz (Alzheimer). I call it "a visit from Fritz"...
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  2. #12
    Just Joined!
    Join Date
    Feb 2006
    Posts
    13
    Hi RubberMan,

    You mentioned, a single .cpp file can be build using make command without a make file.
    This is something new, I tried but I am not able to.

    Can you give us an example, how to do it?

    Thanks in advance.

  3. #13
    Linux Newbie
    Join Date
    Mar 2010
    Posts
    152
    Basically, if you specify `make X' and there is no makefile in the current directory, make will search for X.c, X.cpp and so on to see if there's an obvious way to `make X'. In order to make it, it will run the following:

    Code:
    g++ ${CXXFLAGS} X.cpp -o X
    (Also, if CXX is set in the environment, it will use ${CXX} instead of g++)

  4. $spacer_open
    $spacer_close
  5. #14
    Just Joined!
    Join Date
    Feb 2006
    Posts
    13
    Great, It works.

    Thanks.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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