cannot create 'c' executables

M

mac

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.
 
T

Tom St Denis

mac said:
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.

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
 
J

Jens.Toerring

mac said:
when a c program is compiled using 'gcc test.c'

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.
'cannot create c executables is thrown'
I cannot able to figure out the problem

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

http://www.catb.org/~esr/faqs/smart-questions.html

Regards, Jens
 
K

Keith Thompson

mac said:
when a c program is compiled using 'gcc test.c'

'cannot create c executables is thrown'

I cannot able to figure out the problem

<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>
 
M

mac

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
 
M

mac

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.
 
K

Keith Thompson

mac said:
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.

Try gnu.gcc.help.
 
S

Stephen Sprunk

mac said:
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.

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
 
K

Kenny McCormack

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.

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...)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top