From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas Singleton [Eidos]" To: help-gcc@gnu.org Subject: error message : linker input file unused since linking not done Date: Sat, 25 Dec 1999 15:19:00 -0000 Message-id: <843j8g$len$1@news0.skynet.be> X-SW-Source: 1999-12/msg00349.html 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas Singleton [Eidos]" To: help-gcc@gnu.org Subject: error message : linker input file unused since linking not done Date: Fri, 31 Dec 1999 22:24:00 -0000 Message-ID: <843j8g$len$1@news0.skynet.be> X-SW-Source: 1999-12n/msg00349.html Message-ID: <19991231222400.uG_bBZJCLWCLX1Rq5mBdQV3D7asIwo8AP3DSFu347mA@z> 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