public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Zidlicky <rz@linux-m68k.org>
To: gcc mailing list <gcc@gcc.gnu.org>
Subject: static linking in 3.2 ?
Date: Sat, 10 Aug 2002 06:27:00 -0000	[thread overview]
Message-ID: <20020810150519.B1868@linux-m68k.org> (raw)

Hi,

I found that I need this patch to enable static linking,
crtbeginT.o does not exist on m68k-linux-gcc. I wonder is 
that something m68k specific?

Richard


--- gcc-3.2-cvs/gcc/config/linux.h.rz	Sat Aug 10 15:18:47 2002
+++ gcc-3.2-cvs/gcc/config/linux.h	Sat Aug 10 15:18:54 2002
@@ -59,7 +59,7 @@
      %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
 		       %{!p:%{profile:gcrt1.o%s} \
 			 %{!profile:crt1.o%s}}}} \
-   crti.o%s %{static:crtbeginT.o%s}\
+   crti.o%s %{static:crtbeginS.o%s}\
    %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
 #endif
 

             reply	other threads:[~2002-08-10  6:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-10  6:27 Richard Zidlicky [this message]
2002-08-10  7:16 ` PATCH: Set crt*.o for Linux (Re: static linking in 3.2 ?) H. J. Lu
2002-08-10 17:00   ` Richard Zidlicky
2002-08-10 17:46     ` H. J. Lu
2002-08-18  9:20   ` H. J. Lu
2002-08-18 15:24     ` H. J. Lu

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=20020810150519.B1868@linux-m68k.org \
    --to=rz@linux-m68k.org \
    --cc=gcc@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).