public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Help, what am I doing wrong/what do I need?
@ 2001-09-10 11:47 McClurg Terry D Contr AFRL/SNAS
  2001-09-27  5:39 ` Alexandre Oliva
  0 siblings, 1 reply; 2+ messages in thread
From: McClurg Terry D Contr AFRL/SNAS @ 2001-09-10 11:47 UTC (permalink / raw)
  To: 'gcc-help@gcc.gnu.org'

Everything I try to compile and build I get /usr/ccs/bin/as error messages
If I download the SMCgcc301 package and install it I would think that if I download other apps ie. Xemacs etc that I should be able to compile the source
and build binaries that I can run on my E3500 Sun box with Solaris 2.8.

What else do I need to do.  I downloaded the source for binutils, but get the same type of error when I try to compile the code.


The following error is what I get:
cd ./lib-src && make  CC='gcc' CFLAGS='-g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wshadow -Wsign-compare -Wpointer-arith' LDFLAGS='' CPPFLAGS='' all
gcc -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wshadow -Wsign-compare -Wpointer-arith -I. -I../src -I/export/home/mcclurtd/apps/xemacs/xemacs-21.4.4/lib-src -I/export/home/mcclurtd/apps/xemacs/xemacs-21.4.4/src  -DHAVE_CONFIG_H -I/usr/dt/include -I/usr/openwin/include /export/home/mcclurtd/apps/xemacs/xemacs-21.4.4/lib-src/gnuclient.c gnuslib.o  -L/usr/ccs/lib -Xlinker -R/usr/ccs/lib:/usr/dt/lib:/usr/openwin/lib:/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.1/../../.. -L/usr/dt/lib -L/usr/openwin/lib -lXau -lXmu -lXt -lXext -lX11 -lSM -lICE -lcurses /usr/demo/SOUND/lib/libaudio.a -lldap -lm -lsocket -lnsl -lelf -lgen -ldl -o gnuclient
/usr/ccs/bin/as: "/var/tmp/cclysrIr.s", line 2615: error: unknown opcode ".subsection"
/usr/ccs/bin/as: "/var/tmp/cclysrIr.s", line 2615: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/cclysrIr.s", line 2635: error: unknown opcode ".previous"
/usr/ccs/bin/as: "/var/tmp/cclysrIr.s", line 2635: error: statement syntax
*** Error code 1
make: Fatal error: Command failed for target `gnuclient'
Current working directory /export/home/mcclurtd/apps/xemacs/xemacs-21.4.4/lib-src
*** Error code 1
make: Fatal error: Command failed for target `lib-src'

Please help!
Thanks


Terry McClurg - CSC
Software Engineer
AFRL/SN Distributed Center https://portal.embedded.hpc.mil/
Phone: (937) 255-6329 x2654
Fax:     (937) 255-1100
Email: Terry.McClurg@wpafb.af.mil

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Help, what am I doing wrong/what do I need?
  2001-09-10 11:47 Help, what am I doing wrong/what do I need? McClurg Terry D Contr AFRL/SNAS
@ 2001-09-27  5:39 ` Alexandre Oliva
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2001-09-27  5:39 UTC (permalink / raw)
  To: McClurg Terry D Contr AFRL/SNAS; +Cc: 'gcc-help@gcc.gnu.org'

On Sep 10, 2001, McClurg Terry D Contr AFRL/SNAS <Terry.McClurg@wpafb.af.mil> wrote:

> /usr/ccs/bin/as: "/var/tmp/cclysrIr.s", line 2615: error: unknown opcode ".subsection"

Could it be that you downloaded a binary version of GCC that expects
to use GNU as from binutils, and you failed to download the binary of
binutils so that it could work?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-27  5:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-10 11:47 Help, what am I doing wrong/what do I need? McClurg Terry D Contr AFRL/SNAS
2001-09-27  5:39 ` Alexandre Oliva

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