This is the mail archive of the insight@sourceware.org mailing list for the Insight 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: Some issues


On Fri, 2007-02-09 at 15:49 -0500, Paul Smith wrote:
> Another build issue:

LDFLAGS is also not being used properly during the build of the gdbtk
plugins:

make[6]: Entering directory `/user/psmith/src/obj/insight/gdb/gdbtk/plugins/rhabout'
gcc -c -m32 -fPIC -I/user/psmith/src/insight-6.6/tcl/generic   ../../../../../../insight-6.6/gdb/gdbtk/plugins/rhabout/rhabout.c
gcc -pipe -shared -o rhabout.so rhabout.o -L/user/psmith/src/obj/insight/tcl/unix -ltcl8.4 
/usr/bin/ld: skipping incompatible /user/psmith/src/obj/insight/tcl/unix/libtcl8.4.a when searching for -ltcl8.4
/usr/bin/ld: warning: i386 architecture of input file `rhabout.o' is incompatible with i386:x86-64 output

I looked at the makefile and it doesn't use LDFLAGS here.

In light of all these problems I'm going to go another way and make a
little shell script "gcc32" that just does exec gcc -m32 "$@".

Still it seems like something that should be addressed if possible.

-- 
-----------------------------------------------------------------------------
 Paul D. Smith <psmith@netezza.com>                       http://netezza.com
 "Please remain calm--I may be mad, but I am a professional."--Mad Scientist
-----------------------------------------------------------------------------
      These are my opinions--Netezza takes no responsibility for them.


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