This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compiling from source
- From: Ian Lance Taylor <ian at airs dot com>
- To: Charles Barry <charlesawake at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 13 May 2005 23:13:44 -0400
- Subject: Re: Compiling from source
- References: <abb615b2050513162511d9b5a9@mail.gmail.com>
Charles Barry <charlesawake@gmail.com> writes:
> I'm having some trouble when i try to compile the Blowfish C algorithm
> source code.
> Whenever i type this command:
> gcc BLOWFISH.C
> I get this result:
> [charles@linux1 Blowfish]$ gcc BLOWFISH.C
> /usr/lib/gcc/i386-redhat-linux/4.0.0/../../../crt1.o(.text+0x18): In
> function `_start':
> : undefined reference to `main'
Do you have a function named 'main'?
> However, when you specify to only compile and assemble and not link,
> everything works smoothly.
Except, I presume, that you can not run the program.
Ian