From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20094 invoked by alias); 6 Apr 2002 14:06:19 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 20085 invoked from network); 6 Apr 2002 14:06:18 -0000 Received: from unknown (HELO moutvdom00.kundenserver.de) (195.20.224.149) by sources.redhat.com with SMTP; 6 Apr 2002 14:06:18 -0000 Received: from [172.19.20.61] (helo=mrvdomng0.kundenserver.de) by moutvdom00.kundenserver.de with esmtp (Exim 2.12 #2) id 16tqpe-0002ys-00 for gcc-help@gcc.gnu.org; Sat, 6 Apr 2002 16:06:18 +0200 Received: from [217.83.124.95] (helo=there) by mrvdomng0.kundenserver.de with smtp (Exim 3.22 #2) id 16tqpd-0001y4-00 for gcc-help@gcc.gnu.org; Sat, 06 Apr 2002 16:06:18 +0200 Content-Type: text/plain; charset="iso-8859-15" From: Gregor Karzelek Reply-To: gregor@karzelek.com To: gcc-help@gcc.gnu.org Subject: g++ Date: Sat, 06 Apr 2002 06:27:00 -0000 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: X-SW-Source: 2002-04/txt/msg00064.txt.bz2 Hi Guys, ok, here comes my real problem: I'm just trying to walk trough the QT-Tutorial and there I have to compile more than one file into a binary. The commands I have to use is: $ g++ -L/foo/ -I/bar/ -c file1.cpp $ g++ -L/foo/ -I/bar/ -c file2.cpp and at last: $ g++ -o endfile file1.o file2.o Or have I forgott something? Because the first to commands he do properly but when I want to compile the real binary he tells that nearly the whole X.o is wrong. Should I add a token or what could it be? Greetings Gregor PS: Yes, you're right, I have just started to program PPS: I will send the error the g++ give out soon to this list.