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

Re: DAC960 and GCC



> > that driver compiles w/o -O2, but, it doesn't load, complains about missing
> > symbols.
> > 
> > There are 4 functions that can't be compiled with -O2, I went through and
> > found them (#if 0 them out), but obviously it won't work.  So that does
> > atleast narrow down where the bugs are
> 
> Can you please share the info? :-)  I'd be curious to see what missing
> symbols are popping up and which functions appear to trigger the optimiser
> problem.

Ok, It's working now, I started playing around to figure out the problem.

In DAC960.h, I basically did:
s/inline//g;

and now it works.  It's like gcc can't optimize the inlines.

Until I try the array like this, I don't know the stability.

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals



Reply to: