* Building 971008 cross m68k-coff on sparc-sun-solaris2.5.1
@ 1997-10-10 8:51 Robin Kirkham
1997-10-16 1:07 ` Jeffrey A Law
0 siblings, 1 reply; 2+ messages in thread
From: Robin Kirkham @ 1997-10-10 8:51 UTC (permalink / raw)
To: egcs
The build fails while trying to make the subtarget "stmp-f2c.h" in the Fortran
run-time. I had the same problem in building 970929.
Is this a reasonable configuration? Am I doing something else wrong? I also
tried specifying LANGUAGES="c c++" to make to avoid building f77, but it
didn't help.
My procedure and results were as follows:
% gtar xfz egcs-971008.tar.gz
% cd egcs-971008
% ./configure --target=m68k-coff --with-gnu-as --with-gnu-ld --prefix=/opt/embedded --program-prefix=m68k- -verbose
Configuring for a sparc-sun-solaris2.5.1 host.
... much deleted
% make
... much deleted (builds libgcc ok, apparently)
...
gcc -c -DCROSS_COMPILE -DIN_GCC -DSVR4 -g -O2 -DHAVE_CONFIG_H -I. -I. -I./config ./cp/g++spec.c
gcc -DCROSS_COMPILE -DIN_GCC -DSVR4 -g -O2 -DHAVE_CONFIG_H -o g++ g++.o g++spec.o version.o \
choose-temp.o pexecute.o obstack.o ` case "gcc" in "cc") echo "alloca.o" ;; esac `
rm -f g++-cross
cp g++ g++-cross
rm -f cxxmain.c
ln -s ./cplus-dem.c cxxmain.c
gcc -c -DMAIN -DCROSS_COMPILE -DIN_GCC -DSVR4 -g -O2 -DHAVE_CONFIG_H -I. -I. -I./config \
-DVERSION=\"egcs-2.90.12\" cxxmain.c
rm -f cxxmain.c
gcc -DCROSS_COMPILE -DIN_GCC -DSVR4 -g -O2 -DHAVE_CONFIG_H obstack.o ` case "gcc" in "cc") echo "alloca.o" ;; esac ` -o c++filt \
cxxmain.o underscore.o getopt.o getopt1.o
case 'c proto gcov c++ f77 objc' in \
*f77*) \
gcc -DCROSS_COMPILE -DIN_GCC -DSVR4 -g -O2 -DHAVE_CONFIG_H -I. -I. -I./config \
-DGCC_NAME=\"`t='-e s,^,m68k-coff-,'; echo gcc | sed $t`\" \
-o g77-cross ./f/g77.c ./f/version.c obstack.o ` case "gcc" in "cc") echo "alloca.o" ;; esac ` ;; \
esac
rm -f stmp-f2c.h
top=`pwd`; \
src=`cd .; pwd`; \
cd f/runtime; \
CC="`case '/opt/embedded/src/egcs-971008/gcc/xgcc -B/opt/embedded/src/egcs-971008/gcc/' in \
'./xgcc -B./') echo ${top}/xgcc -B${top}/;; \
*) echo '/opt/embedded/src/egcs-971008/gcc/xgcc -B/opt/embedded/src/egcs-971008/gcc/';; esac`" \
G_SITE=/dev/null /bin/sh \
${src}/f/runtime/configure --srcdir=${src}/f/runtime
loading site script /dev/null
creating cache ./config.cache
checking for gcc... /opt/embedded/src/egcs-971008/gcc/xgcc -B/opt/embedded/src/egcs-971008/gcc/
checking whether the C compiler (/opt/embedded/src/egcs-971008/gcc/xgcc -B/opt/embedded/src/egcs-971008/gcc/ -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
gmake[1]: *** [stmp-f2c.h] Error 1
gmake[1]: Leaving directory `/opt/embedded/src/egcs-971008/gcc'
gmake: *** [all-gcc] Error 2
Thanks,
Robin Kirkham CSIRO Manufacturing Science and Technology
Project Engineer Locked Bag 9, Preston 3072, Australia
robin.kirkham@mlb.dmt.csiro.au Phone: +61 3 9662-7756 Fax: +61 3 9662-7851
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Building 971008 cross m68k-coff on sparc-sun-solaris2.5.1
1997-10-10 8:51 Building 971008 cross m68k-coff on sparc-sun-solaris2.5.1 Robin Kirkham
@ 1997-10-16 1:07 ` Jeffrey A Law
0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey A Law @ 1997-10-16 1:07 UTC (permalink / raw)
To: Robin Kirkham; +Cc: egcs
In message < 19971010081312.12799.qmail@ragnarok.mlb.dmt.csiro.au >you write:
> The build fails while trying to make the subtarget "stmp-f2c.h" in the
> Fortran run-time. I had the same problem in building 970929.
I believe this has been fixed for the next snapshot (thursday assuming nothing
goes wrong with the builds tonight).
jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-10-16 1:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-10 8:51 Building 971008 cross m68k-coff on sparc-sun-solaris2.5.1 Robin Kirkham
1997-10-16 1:07 ` Jeffrey A Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).