[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem with binutils on 64 bit solaris
From: |
Josh Baratz |
Subject: |
problem with binutils on 64 bit solaris |
Date: |
Wed, 25 Jun 2003 16:38:51 -0400 |
Hello, so I was building binutils for 64 bit applications using the
sparcworks compiler. This compiler requires the -xarch=v9 flag to build in
64 bit mode.
trying to use the tools provided, I used the following commands
./configure --prefix=/tmp --enable-CFLAGS="-xarch=v9";make;make install
the make install failed in the bfd/doc subdirctory, trying to link the chew
program.
I patched the makefile in that directory, (it wasn't including $CFLAGS for
that link), and have successfully used the library with this change made.
System info and diffs follow.
-JWB
SunOS suncity 5.8 Generic sun4u sparc SUNW,Ultra-5_10
cc: WorkShop Compilers 5.0 98/12/15 C 5.0
In directory
binutils-2.14/bfd/doc:
suncity:/tmp/binutils-2.14/bfd/doc> diff Makefile.am.dist Makefile.am
58c58
< $(CC_FOR_BUILD) -o $(MKDOC) chew.o $(LOADLIBES) $(LDFLAGS)
---
> $(CC_FOR_BUILD) -o $(MKDOC) chew.o $(CFLAGS) $(LOADLIBES) $(LDFLAGS)
suncity:/tmp/binutils-2.14/bfd/doc> diff Makefile.in.dist Makefile.in
472c472
< $(CC_FOR_BUILD) -o $(MKDOC) chew.o $(LOADLIBES) $(LDFLAGS)
---
> $(CC_FOR_BUILD) -o $(MKDOC) chew.o $(CFLAGS) $(LOADLIBES) $(LDFLAGS)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- problem with binutils on 64 bit solaris,
Josh Baratz <=