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

Re: Building packages and compiler flags



On Thu, Apr 14, 2005 at 03:47:35PM +0200, Carsten Friede wrote:
> Hi.
> 
> Is it possible to activate specific compiler flags, when building 
> packages from source, eg. for the AltiVec, to improve performance?

Not being sure whether you need to know the flags, or how to use them
with the Debian package build system, like make-kpkg etc.

If you simply want some flags: From my bookmarks:

<http://www.freehackers.org/gentoo/gccflags/flag_gcc3.html>
<http://www.freehackers.org/gentoo/gccflags/flag_gcc3opt.html>
<http://gcc.gnu.org/onlinedocs/gcc/RS_002f6000-and-PowerPC-Options.html#RS_002f6000-and-PowerPC-Options>
<http://linuxreviews.org/howtos/compiling/safe-cflags/>
<http://linuxreviews.org/howtos/compiling/unsafe-cflags/#toc1>

But I'd have a look at the sources you want the flags being fed into,
and whether the flags described on the pages above are not already
used there ... :)

If you want to know how to feed the flags to, e.g, make-kpkg for a
"live" compile, then I can't help. Sorry ..

HTH

Best regards
 Wolfgang
-- 
Wolfgang Pfeiffer
http://profiles.yahoo.com/wolfgangpfeiffer



Reply to: