public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* 4.2.0 tool chain build on Solaris 2.7
@ 2008-03-14 17:25 John Morrison
  0 siblings, 0 replies; only message in thread
From: John Morrison @ 2008-03-14 17:25 UTC (permalink / raw)
  To: gcc-help

Hi all.

I'm obviously doing something wrong (stupid?).

I'm trying to build a gnu 4.2.0 tool chain on Solaris 2.7 host for a
powerpc-eabi target.  The sources are:
binutils-2.17
gcc-core-4.2.0
gcc-g++-4.2.1
newlib-1.16.0

The source, build and install directories are all separate from each
other.

The binutils build and install appears to be ok.  The GCC build and
install appears to be ok.

But when I do a compile, it appears that the wrong assembler is used.
Here is a snippet of the "-v" output (I've "trimmed" out stuff due to
size):


Using built-in specs.
Target: powerpc-eabi
Configured with:
/home/morr_jo/work/ToolChain/sunCross/src/gcc-4.2.0/configure -v
--target=powerpc-eabi
--prefix=/home/morr_jo/work/ToolChain/sunCross/cross-4.2.0
--disable-bootstrap
--with-target-tools=/home/morr_jo/work/ToolChain/sunCross/cross-4.2.0/bi
n --enable-languages=c,c++ --with-gnu-as --with-gnu-ld --with-newlib
--with-gxx-include-dir=/home/morr_jo/work/ToolChain/sunCross/cross-4.2.0
/powerpc-eabi/include
Thread model: single
gcc version 4.2.0
 
/home/morr_jo/work/ToolChain/sunCross/cross-4.2.0/libexec/gcc/powerpc-ea
bi/4.2.0/cc1 -quiet -nostdinc -v ...snipped..... -I
/rel/software/psa/ecos_2/repos/ecos2_install/include/cyg/io -I
/rel/software/psa/ecos_2/repos/ecos2_install/include/sys -iprefix
/opt/gnu/gcc.ppc/lib/gcc-lib/powerpc-eabi/4.2.0/ ....snipped.... -D
ECOS_2 -D SEGMENTED_FLASH -D EMBEDDED_NIC -D MIB_FEATURE -D
MANUAL_GTPA_ADJUST /rel/software/psa/ptxdrvr/c/snoopdrv.c -quiet
-dumpbase snoopdrv.c -mcpu=603 -mstrict-align -auxbase-strip snoopdrv.o
-g -O0 -Wall -Wno-format -version -fno-builtin -fno-for-scope -o
/tmp/ccjEp2aQ.s
cc1: note: obsolete option -I- used, please use -iquote instead
cc1: warning: command line option "-fno-for-scope" is valid for
C++/ObjC++ but not for C
ignoring nonexistent directory "../src"
ignoring nonexistent directory "/rel/software/psa/sl/h"
ignoring nonexistent directory "/rel/software/psa/ppl/h"
#include "..." search starts here:
#include <...> search starts here:
 /home/morr_jo/work/ToolChain/testbuilds/src
 ..
...... snipped out the search list due to size  .......
GNU C version 4.2.0 (powerpc-eabi)
	compiled by GNU C version 2.95.2 19991024 (release).
GGC heuristics: --param ggc-min-expand=65 --param ggc-min-heapsize=65536
Compiler executable checksum: d11f24170b8b94a58948dac4d826ba1f
 /opt/gnu/gcc.ppc/lib/gcc-lib/powerpc-eabi/../../../powerpc-eabi/bin/as
-mppc -many -V -Qy -o snoopdrv.o /tmp/ccjEp2aQ.s
GNU assembler version 2.10.1 (powerpc-eabi) using BFD version 2.10.1
/tmp/ccjEp2aQ.s: Assembler messages:
/tmp/ccjEp2aQ.s:35: Warning: Missing string
/tmp/ccjEp2aQ.s:35: Error: Rest of line ignored. First ignored character
is `1'.
/tmp/ccjEp2aQ.s:36: Error: Unknown pseudo-op:  `.loc'
/tmp/ccjEp2aQ.s:43: Error: Unknown pseudo-op:  `.loc'
.....


I've already done a successful install of the same tool chain on a Linux
i686 system.
The Sun uname info:  SunOS merlin 5.7 Generic_106541-11 sun4u sparc
SUNW,Ultra-60
The PATH variable value during the GCC build and install was:
/home/morr_jo/work/ToolChain/sunCross/cross-4.2.0/bin:./:/usr/sbin:/usr/
bin:/bin:/opt/local/bin:/opt/gnu/bin:/usr/ccs/bin

No where in that path is the path to the assembler identified in the
listing above.

I obiously do not understand something about Sun (no jokes please) or
unix in general.
Any help would be appreciated. If you need more info, please let me
know.

Thanks
John Morrison
Printronix, Inc

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-14 17:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-14 17:25 4.2.0 tool chain build on Solaris 2.7 John Morrison

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).