Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] gcc flags

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andrew Stitt <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] gcc flags
  • Date: Thu, 1 Aug 2002 16:46:16 -0700

i circumvented whatever is causing the problem by writing a makefile,
however this really isnt the optimal solution for the problem, any ideas
on as to whats breaking my use of variables?

On Thu, Aug 01, 2002 at 03:39:10PM -0700, Andrew Stitt wrote:
> So ive been writting a couple of spells. Some of them dont come with
> makefiles. since theres only one source file. I want to be able to
> include the optimization features, ie -march=i686 -mcpu=i686
>
> so i have line like this in BUILD:
> gcc -o foo foo.c $CFLAGS
>
> seems reasonable to me. But whenever I try casting this I get the
> following error:
>
> cc1: bad value (i686 -march=i686 -O3) for -mcpu= switch
>
> if i hardcode the value of $CLFAGS onto the script everything works just
> fine. whats going on?
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss




Archive powered by MHonArc 2.6.24.

Top of Page