public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc 3.0.4 problem
@ 2002-04-30  8:34 Professor Gustavo Carri
  0 siblings, 0 replies; 2+ messages in thread
From: Professor Gustavo Carri @ 2002-04-30  8:34 UTC (permalink / raw)
  To: gcc-help

	Hello, I am trying to install the High Performance Linpack Benchmark on a 
Beuwolf Cluster. Now, the compiler I use is gcc 3.0.4 on an alpha ev67. But, 
when I am installing 

/usr/local/bin/gcc -o HPL_dlacpy.o -c -fomit-frame-pointer -O3 -funroll-loops 
-Dadd_ -DF77_INTEGER=int - DStringSunStyle -DHPL_CALL_CBLAS  
-I/home/gus/hpl/include -I/home/gus/hpl/include/Linux_21264_CBLAS_gm 
/home/gus/ATLAS/include -I/home/mpich/include ../HPL_dlacpy.c

I get the error

gcc: cannot specify -o with -c or -S and multiple compilations

This is the first time I see this. Where did I make a mistake in the 
installation ?. This is what I get when I run gcc -v

Reading specs from 
/usr/local/lib/gcc-lib/alphaev67-unknown-linux-gnu/3.0.4/specs
Configured with: /home/gus/gcc-3.0.4/configure --with-gnu-as --with-gnu-ld
Thread model: single
gcc version 3.0.4

	I really need help to solve this fast. Thank you.

			Gus

-- 
**********************************************************************
Gustavo A. Carri
Assistant Professor of Polymer Science
Department of Polymer Science
Goodyear Polymer Center
The University of Akron
Akron, OH 44325-3909
USA

Telephone Number: (330) 972-7509
Fax Number: (330) 972-5290
Website: http://www.polymer.uakron.edu
************************************************************************

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

* RE: gcc 3.0.4 problem
       [not found] <616BE6A276E3714788D2AC35C40CD18D5FB439@whale.softwire.co.uk>
@ 2002-04-30 10:55 ` Rupert Wood
  0 siblings, 0 replies; 2+ messages in thread
From: Rupert Wood @ 2002-04-30 10:55 UTC (permalink / raw)
  To: carri; +Cc: gcc-help

Professor Gustavo Carri wrote:

> /usr/local/bin/gcc -o HPL_dlacpy.o -c -fomit-frame-pointer -O3
> -funroll-loops -Dadd_ -DF77_INTEGER=int - DStringSunStyle
> -DHPL_CALL_CBLAS -I/home/gus/hpl/include
> -I/home/gus/hpl/include/Linux_21264_CBLAS_gm /home/gus/ATLAS/include
> -I/home/mpich/include ../HPL_dlacpy.c
:
> gcc: cannot specify -o with -c or -S and multiple compilations

Two mistakes here:

  1. there shouldn't be a space between '-' and 'DStringSunStyle'
  2. you need an '-I' before '/home/gus/ATLAS/include'

although I appreciate that these may have been introduced copying the
error into your e-mail.

You may have to correct CFLAGS or similar in your makefile.

Rup.

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

end of thread, other threads:[~2002-04-30 15:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-30  8:34 gcc 3.0.4 problem Professor Gustavo Carri
     [not found] <616BE6A276E3714788D2AC35C40CD18D5FB439@whale.softwire.co.uk>
2002-04-30 10:55 ` Rupert Wood

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