cannot create 'c' executables

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mac

    #1

    cannot create 'c' executables

    when a c program is compiled using 'gcc test.c'

    'cannot create c executables is thrown'

    I cannot able to figure out the problem

    could anyone help me.

    Thanks.

  • Tom St Denis

    #2
    Re: cannot create 'c' executables


    mac wrote:[color=blue]
    > when a c program is compiled using 'gcc test.c'
    >
    > 'cannot create c executables is thrown'
    >
    > I cannot able to figure out the problem
    >
    > could anyone help me.[/color]

    Um, that's not very helpful [or ontopic for the group btw]... um what
    distro of GCC are you using [i.e. where did it come from].

    Tom

    Comment

    • Jens.Toerring@physik.fu-berlin.de

      #3
      Re: cannot create 'c' executables

      mac <aparnar@ici.co mneti.com> wrote:[color=blue]
      > when a c program is compiled using 'gcc test.c'[/color]

      First of all, this group is _not_ about how to get a certain compiler
      to work. It's only about the language C, not the tools you may be using.
      [color=blue]
      > 'cannot create c executables is thrown'[/color]
      [color=blue]
      > I cannot able to figure out the problem[/color]

      Neither can we since you don't even give the slightest hint what's
      really going wrong. The text 'cannot create c executables is thrown'
      is rather unlikely to be even the error message you got. Perhaps you
      should read a bit of



      Regards, Jens
      --
      \ Jens Thoms Toerring ___ Jens.Toerring@p hysik.fu-berlin.de
      \______________ ____________ http://www.toerring.de

      Comment

      • Keith Thompson

        #4
        Re: cannot create 'c' executables

        "mac" <aparnar@ici.co mneti.com> writes:[color=blue]
        > when a c program is compiled using 'gcc test.c'
        >
        > 'cannot create c executables is thrown'
        >
        > I cannot able to figure out the problem[/color]

        <OT>
        Did you really get that message from gcc itself? My best guess (based
        on inadequate information) is that "gcc test.c" was invoked from a
        configure script. Was that the exact message, including the "is
        thrown"?
        </OT>

        --
        Keith Thompson (The_Other_Keit h) kst-u@mib.org <http://www.ghoti.net/~kst>
        San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
        We must do something. This is something. Therefore, we must do this.

        Comment

        • mac

          #5
          Re: cannot create 'c' executables

          No sorry.. I misplaced the qoutes. 'is thrown ' is not included in that
          error message.

          I am getting this message when trying to compile the c file using gcc.

          Thanks

          Comment

          • mac

            #6
            Re: cannot create 'c' executables

            Thanks.

            I know that this group is _not_ about how to get a certain compiler to
            work. Eventhough posting this question here is beacuse I thought that
            still somebody will be able to help me.

            Comment

            • Keith Thompson

              #7
              Re: cannot create 'c' executables

              "mac" <aparnar@ici.co mneti.com> writes:[color=blue]
              > Thanks.
              >
              > I know that this group is _not_ about how to get a certain compiler to
              > work. Eventhough posting this question here is beacuse I thought that
              > still somebody will be able to help me.[/color]

              Try gnu.gcc.help.

              --
              Keith Thompson (The_Other_Keit h) kst-u@mib.org <http://www.ghoti.net/~kst>
              San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
              We must do something. This is something. Therefore, we must do this.

              Comment

              • Stephen Sprunk

                #8
                Re: cannot create 'c' executables

                "mac" <aparnar@ici.co mneti.com> wrote in message
                news:1109306118 .060314.203180@ z14g2000cwz.goo glegroups.com.. .[color=blue]
                > No sorry.. I misplaced the qoutes. 'is thrown ' is not included in that
                > error message.
                >
                > I am getting this message when trying to compile the c file using gcc.[/color]

                If you want any useful help, you're going to need to paste the invocation
                and exact error messages you get, and probably the source file as well.

                S

                --
                Stephen Sprunk "Stupid people surround themselves with smart
                CCIE #3723 people. Smart people surround themselves with
                K5SSS smart people who disagree with them." --Aaron Sorkin

                Comment

                • Kenny McCormack

                  #9
                  Re: cannot create 'c' executables

                  In article <1109345060.5b7 c344b3d8942fa8d 5ae65b1cfe825c@ teranews>,
                  Stephen Sprunk <stephen@sprunk .org> wrote:[color=blue]
                  >"mac" <aparnar@ici.co mneti.com> wrote in message
                  >news:110930611 8.060314.203180 @z14g2000cwz.go oglegroups.com. ..[color=green]
                  >> No sorry.. I misplaced the qoutes. 'is thrown ' is not included in that
                  >> error message.
                  >>
                  >> I am getting this message when trying to compile the c file using gcc.[/color]
                  >
                  >If you want any useful help, you're going to need to paste the invocation
                  >and exact error messages you get, and probably the source file as well.[/color]

                  My first impression was that he was trying to compile in a directory w/o
                  write permission, but then I realized something. That particular error
                  message means that gcc is mis-configured (or not configured at all) on the
                  particular system.

                  (So, I don't think it is either a source file issue or a command line
                  issue. And it is, of course, completely OT here...)

                  Comment

                  • vihang

                    #10
                    Re: cannot create 'c' executables

                    see if you have libcdev installed?

                    Comment

                    Working...