On Thu, 7 Apr 2005, Hugh Sasse Staff Elec Eng wrote:
On Thu, 7 Apr 2005, Eric Botcazou wrote:
But to get the definitions we are after it should be looking in sys,
No, <sys/link.h> is not directly included, only <link.h>.
Oh, I see. And I think I now understand what the --with-local-prefix does, so I'll let you know the results in a few hours. I've put --with-local-prefix=/tmp/gcc-local which doesn't exist.
This seems to have worked. I got a few Error 2 (ignored) but the tests took place. My script was:
#!/bin/bash -x
PATH=/bin:/usr/sbin:/usr/ccs/bin:/etc:/usr/local/bin:/opt/sfw/bin:/usr/openwin/bin export PATH
CONFIG_SHELL=/bin/bash export CONFIG_SHELL BUILDINGVER=3.4.3 BUILD_DIR=/export/home/Scratch/hgs/gcc-build GCC_SOURCE_DIR=/export/home/Scratch/hgs/gcc-${BUILDINGVER}
# CC="/progs/SUNWspro/bin/cc -xildoff -xarch=v9" options only needed # for 64 bit... # CC="/progs/SUNWspro/bin/cc" CC=gcc export CC
CXX=g++ export CXX
MAKE=/usr/local/bin/gmake export MAKE
ASOPT="--with-as=/usr/local/bin/as" LDOPT="--with-ld=/usr/local/bin/ld" LANGOPT="--enable-languages=c,c++,f77,java,objc"
cd $BUILD_DIR /bin/rm -rf ./* ${GCC_SOURCE_DIR}/configure $ASOPT $LDOPT $LANGOPTS --disable-nls \ --with-local-prefix=/tmp/gcc-local && \ # gmake bootstrap-lean && \\ gmake --jobs=5 bootstrap-lean && \ gmake check
for those who want to use this.
I now need to do the patching to make the install work properly, I'll followup to another message about that I think.
Thank you Hugh