This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: tcl cannot build 64bit.


Manoj Iyer <manjo@austin.ibm.com> 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.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]