This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: gcc 3.0.4 problem


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]