Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@wasabisystems.com>
To: Andreas Schwab <schwab@suse.de>
Cc: Manoj Iyer <manjo@austin.ibm.com>,
	Daniel Jacobowitz <drow@false.org>,
	Andrew Cagney <cagney@gnu.org>,
	gdb@sources.redhat.com
Subject: Re: tcl cannot build 64bit.
Date: Wed, 10 Mar 2004 17:30:00 -0000	[thread overview]
Message-ID: <m3k71sa9uv.fsf@gossamer.airs.com> (raw)
In-Reply-To: <jellm8sjl1.fsf@sykes.suse.de>

Andreas Schwab <schwab@suse.de> writes:

> > I think I emailed the fix to the problem wrt to building tcl 64bit. All
> > it requires is a one line fix in Makefile.in.
> >
> > src/tcl/unix/Makefile.in:479
> >
> > tclsh: ${TCLSH_OBJS} ${TCL_LIB_FILE}
> >         ${CC} ${CFLAGS} ${LDFLAGS} ${TCLSH_OBJS} @TCL_BUILD_LIB_SPEC@
> >         ${LIBS} ${CC_SEARCH_FLAGS} -o tclsh
> >
> >
> > It is missing the ${CFLAGS} in the cc line.
> 
> It shouldn't be needed, since it's a link command, not a compile command.
> If you need -m64 for linking you must add it to LDFLAGS.  Or just use
> CC="$CC -m64" since it's actually a different compiler after all.

The GNU standards require that CFLAGS be used in every command which
uses CC, including ones which simply link.

Of course, Tcl is not a GNU program.

Ian


  reply	other threads:[~2004-03-10 17:30 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-09 21:10 Manoj Iyer
2004-03-09 21:20 ` Andrew Cagney
2004-03-09 21:34   ` Manoj Iyer
2004-03-09 22:03     ` Andreas Schwab
2004-03-09 22:05   ` Andreas Schwab
2004-03-09 22:27     ` Andrew Cagney
2004-03-09 22:55       ` Andreas Schwab
2004-03-10  1:34         ` Andrew Cagney
2004-03-10  5:46           ` Manoj Iyer
2004-03-10  9:13             ` Andreas Schwab
2004-03-10  9:12           ` Andreas Schwab
2004-03-10 15:25             ` Ian Lance Taylor
2004-03-10 16:02               ` Andreas Schwab
2004-03-10 16:05                 ` Daniel Jacobowitz
2004-03-10 16:11                   ` Manoj Iyer
2004-03-10 17:22                     ` Andreas Schwab
2004-03-10 17:30                       ` Ian Lance Taylor [this message]
2004-03-12 22:26                       ` Manoj Iyer
2004-03-16 23:50                       ` Andrew Cagney

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=m3k71sa9uv.fsf@gossamer.airs.com \
    --to=ian@wasabisystems.com \
    --cc=cagney@gnu.org \
    --cc=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=manjo@austin.ibm.com \
    --cc=schwab@suse.de \
    /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