gcc 3.0.4 problem

Rupert Wood me@rupey.net
Tue Apr 30 10:55:00 GMT 2002


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.



More information about the Gcc-help mailing list