Re: [guppi-list] small compile bug



On Wed, Oct 17, 2001 at 12:20:20AM +0200, Jacek Popławski wrote:
> There is "k6" variable. And "-march=k6" defines "k6=1".

correction, "-mcpu=k6" not "march"

example:

[jp localhost jp]$ cat test.cpp
int main()
{
 int k6, k7, k8;
 return 0;
}

[jp localhost jp]$ gcc -E test.cpp -mcpu=k6
# 1 "test.cpp"
int main()
{
 int 1 , k7, k8;
 return 0;
}

-- 
I think about closing the door
And lately I think of it more
I'm living well out of my time              "Falling off the Edge of the World"
I feel like I'm losing my mind                              - Ronnie James Dio



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]