public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Gregor Karzelek <gregor@karzelek.com>
To: gcc-help@gcc.gnu.org
Subject: g++
Date: Sat, 06 Apr 2002 06:27:00 -0000	[thread overview]
Message-ID: <E16tqpd-0001y4-00@mrvdomng0.kundenserver.de> (raw)

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.

             reply	other threads:[~2002-04-06 14:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-06  6:27 Gregor Karzelek [this message]
2002-04-06 13:38 ` g++ bjorn rohde jensen
     [not found] <616BE6A276E3714788D2AC35C40CD18D5B1B94@whale.softwire.co.uk>
2002-04-09  6:11 ` G++ Rupert Wood
  -- strict thread matches above, loose matches on Subject: below --
2002-04-09  5:33 G++ Gregor Karzelek
2002-04-06  5:55 g++ Gregor Karzelek
2002-04-06  6:06 ` g++ bjorn rohde jensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E16tqpd-0001y4-00@mrvdomng0.kundenserver.de \
    --to=gregor@karzelek.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).