Date: Tue, 17 Mar 1998 11:14:49 +0200 (IST) From: Eli Zaretskii To: G DOT DegliEsposti AT ads DOT it cc: djgpp AT delorie DOT com Subject: Re: undefined reference to... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 17 Mar 1998 G DOT DegliEsposti AT ads DOT it wrote: > gcc [compiler options] [files to compile] [linker options] > > -o is a compiler options, put it before the .cc files. This is incorrect. "-o prog" may be put anywhere on the GCC command line. The only order GCC cares about is the order of the input (i.e. source, object and library) files that are submitted to it.