[Gllug] Compiling in a different computer

mallum breakfast at 10.am
Sat Oct 27 20:19:45 UTC 2001


The gcc info page has lots of info on the various switches to enable
processor and the like optimisations.

  -- mallum

on Sat, Oct 27, 2001 at 04:06:21AM +0100, mike wrote:
> May be wrong but I am not sure this would work for individual apps
> 
> You could try this per app
> CFLAGS='-O2 -mcpu=i386 -march=i386' ./configure etc
> same for CXXFLAGS
> normally works for me
> 
> 
> 
> On Fri, 2001-10-26 at 23:21, Formi wrote:
> > 
> > 
> >  So, nothing fancy then, just normal kernel compiling procedure.
> > 
> >  I have done that dozens of times ...
> > 
> >  May I apologize for asking a stupid, already known answer question...
> > 
> >  I will punish myself, I will risk a BSD tonight.
> > 
> >  Thank you for remembering me how smart I am.
> > 
> >  		Formi.
> > 
> >  P.D.: Or make mrproper...
> > 
> > 
> > 
> > On Fri, 26 Oct 2001, Nick Hill wrote:
> > 
> > > Go to oyur kernel source directory. Usually /usr/src/linux
> > > su
> > > Type 'make xconfig'
> > >
> > > 'Select processor type and features'. If you have a recent kernel, this will give options for a wide variety of processors, including K6 and Pentium MMX. It selects the optimisations for the resultant kernel and modules.
> > >
> > > Then save, make dep; make clean; make bzImage
> > >
> > > copy bzImage from /usr/src/linux/arch/i386/boot
> > >
> > > AIUI, you will need a version of GCC which can use the appropriate processor optimisation flags.
> > >
> > > Hope this helps.
> > >
> > >
> > > On Fri, 26 Oct 2001 14:29:13 +0000 (GMT)
> > > Formi <rcarrera at blueyonder.co.uk> wrote:
> > >
> > > >
> > > > Hello all,
> > > >
> > > >  I want to compile in my desktop applications to be used in my laptop.
> > > >
> > > >  I would like to use the optimizations for Pentium MMX processors but
> > > >  my desktop is a AMD K6.
> > > >
> > > >  Can somebody point me to a info source that explains how to do this?
> > > >
> > > >  Foolproof sources preferred.
> > > >
> > > >  Cheers,
> > > >
> > > >                     Formi.
> > > >
> > > >
> > > > --
> > > > Gllug mailing list  -  Gllug at linux.co.uk
> > > > http://list.ftech.net/mailman/listinfo/gllug
> > >
> > >
> > 
> > -- 
> > ---
> > 
> >   If you want to kill a red ant hidden between millions of black ones,
> >   just get a napalm bomb able to cremate an area of about 3.1415 km2
> >   , oh! and do use it.
> > 
> >   If you manage to fail killing it, it is because you work for the U$,
> >   or maybe the UK goverment.
> > 
> >   ::WARNING:: IRONY
> > 
> >   If you are so pathetic, yes you are,
> >   that you don't see why you have to use such a logical method,
> >   do go to the Pentagon and ask the guys in the funny clothes.
> >   Do not be extremely careful, though.
> > 
> > 
> >   Formi comes from A Formiga, the name of my village,
> >   Formiga in the tongue of the land means ant.
> >   And my preferite color is red.
> > 
> > 
> >                                            RED Formi.
> > 
> > 
> > 
> > 
> > -- 
> > Gllug mailing list  -  Gllug at linux.co.uk
> > http://list.ftech.net/mailman/listinfo/gllug
> 
> 
> 
> -- 
> Gllug mailing list  -  Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list