This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: error message : linker input file unused since linking not done SOLVED
- To: help-gcc at gnu dot org
- Subject: Re: error message : linker input file unused since linking not done SOLVED
- From: "Thomas Singleton [Eidos]" <singleton at skynet dot be>
- Date: Sun, 26 Dec 1999 10:34:17 +0100
- Newsgroups: gnu.gcc.help
- Organization: Belgacom Skynet SA/NV
- References: <843j8g$len$1@news0.skynet.be>
- Xref: wodc7nx0 gnu.gcc.help:2294
Problem solved,
Thanx to Peter A. Friend
Thomas Singleton
Thomas Singleton [Eidos] <singleton@skynet.be> a écrit dans le message :
843j8g$len$1@news0.skynet.be...
> hello,
> in order to follow a book's test procedure to see if the compiling/linking
> of C programs work, i created a hello.c
> file with the famous 'printf("Hello World!");' then (always following the
> instructions) did :
> $gcc -c -Wall -D_GNU_SOURCE hello.c -o hello.o
> then
> $gcc -c hello.o hello.c
> which reported :
> gcc: hello.o : linker input file unused since linking not done
>
> i made a search for that message on gcc.gnu.org, and found a few linked
> messages but they were all about merging two or more source into the same
> object which is not my case, so i decided to post this
>
> Thank you for any advices
> Thomas
>
> i'm using RH 6.0 with kernel 2.2.5-15 and gcc --version reported :
> egcs-2.91.66
>
>