News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Compiler can't create executables

Started by Magnum, May 18, 2014, 12:21:11 PM

Previous topic - Next topic

Magnum

I must be pretty tired.

I could not find the Linux assembler forum. :-)

I could not install a Linux program using the package manager.
(Puppy Slacko 5.6.0)

So it was suggested that I compile the source.

It used gcc, so I can not understand this error message.

"Compiler can't create executables"

# ./configure
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

I am still using fasm and have been looking for some GUI code.

Andy

Thanks scholars, gentlemen, and go-getters.

Andy
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

Gunner

And when you open 'config.log', what does it say?

Also, # is the root (admin) prompt,  why are you running as root?  $ is the normal user prompt.  Did you do a 'su'? or is it how you use Linux?  You shouldn't use Linux (or any OS) as root.  That is why there is 'sudo' and 'su' commands.
~Rob

Gunther

Andy,

does this work with a terminal?

gcc --version


Gunther
You have to know the facts before you can distort them.

Magnum

Ja.

# gcc --version
gcc (GCC) 4.7.1
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Andy
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

Gunther

Andy,

you've an appropriate Installation of GCC and that should work to create ELF.

Gunther
You have to know the facts before you can distort them.