On Tue, Mar 15, 2005 at 04:16:42PM -0500, Lennart Sorensen wrote: > On Wed, Mar 16, 2005 at 08:08:59AM +1100, Matthew Palmer wrote: > > OK, should I make gcc3.4 (or gcc >= 3.4 -- I'm not sure which one is the > > right way to go) a build-dep on amd64 then? I suppose I could, alternately, > > force the optimization level to -O0 (either for amd64 or in general), but > > I've got no experience with what that does, performance wise, to the > > resultant binaries, and since this is intended to be suitable for > > low-resource systems, every last bit of performance we can reasonably obtain > > is useful. > > What is a low resource amd64 system? Sorry, I should have clarified that point -- I was referring only to the case of turning -O0 on for all architctures, and what that might do to performance on those arches (like most other than amd64) that could have slooooow processors out there. > As far as I know there are a few packages compiled with gcc3.4 due to > gcc3.3 bugs, but I may be confused on the matter. Perhaps you could > make it check for the gcc version on amd64 and switch optimization off > if it sees gcc3.3 but not if it is higher than 3.3. I don't know if > that is even considered an apropriate thing to do in a Debian package. I've never had to deal with arch-specific compilation before, so I don't know what the appropriate thing to do here is either. I'm hoping someone who Knows These Things will be able to weigh in with their experience. - Matt
Attachment:
signature.asc
Description: Digital signature