Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I am using featherlinux, which is a knoppix remaster. First I was facing problems regarding cyclic dependency in debian packages related to GCC. With the help of this forum ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2004
    Location
    Germany
    Posts
    21

    Installed GCC, but not working


    Hi,

    I am using featherlinux, which is a knoppix remaster.

    First I was facing problems regarding cyclic dependency in debian packages related to GCC. With the help of this forum I was able to install GCC 3.5 successfully, there was no error while installing with dpkg. I installed more than 34 packages.

    But now when I try to invoke gcc it says command not found. In fact there is no gcc executable on my system. I tried to compile a Hello World program with g++-3.5 but it stops at the error message

    Code:
    linux/limits.h file or directory does not exists

    Do I need to install some other packages for that ? Which one ?

    thanks,
    Hardik

  2. #2
    Just Joined!
    Join Date
    Jul 2004
    Posts
    35
    Greetings there...

    check your /usr/bin directory for any binaries with gcc as prefix. what i mean is,i faced the same trouble on my fedora install and found gcc as gcc296 in my /usr/bin.

    later you can alias it for easy usage!

    about the error you are getting make sure the file exists as reported.
    else IMHO you post your code at any programming forums!

    regards,
    rohit.

  3. #3
    Just Joined!
    Join Date
    Dec 2004
    Location
    Germany
    Posts
    21
    thanks rohit,

    I dont have any gcc prefixed binary in my /usr/bin except gcc-3.5 which gives the above mentioned error.

    I tried to compile a Hello World program with g++-3.5 but it stops at the error message

    Code:
    linux/limits.h file or directory does not exists
    but I think I still need to install some separate package called gcc and not gcc-3.5 I am not sure about that did you install that ?

    Hardik.

Posting Permissions

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