-march=xxx

Carol Spears cspears at cablespeed.com
Tue Jan 23 12:02:38 PST 2001


The right answer from three different directions. Thank you.

Can someone eMail the book people with a suggestion to put "uname -m"
into Chapter 6 in either Debugging symbols and compiler optimizations or
in Creating $LFS/root/.bash_profile so that I don't bother you again?

asunnymoo wrote:
> 
> Try "uname -m" on the machine you are building from, assuming your LFS system
> will be on the same machine.
> 
> --- Steve Hayashi <sth at andrew.cmu.edu> wrote:
> > If you have a 486, then -march=i486 is best
> > If you have a Pentium (the original) then -march=i586 will be optimal
> >
> > If you have Pentium Pro or better, use -march=i486
> >
> >
> > Note: the above may not work if you have a Cyrix or AMD.  Someone else
> > will have to comment on that for me.
> >
> > -Steve
> >
> > On Tue, 23 Jan 2001, Andrew Plumb wrote:
> >
> > > Hi Carol,
> > >
> > > Try -march=i486
> > >
> > > Andrew.
> > >
> > > On Tue, 23 Jan 2001, Carol Spears wrote:
> > >
> > > > I am unsure of this value for my machine:
> > > > "Replace -march=xxx with the
> > > > proper value for your machine:"
> > > >
> > > > This is from Chapter 6, Creating $LFS/root/.bash_profile.
> > > >
> > > > My guess was "486i".  But I don't like the guessing part.
> > > >
> > > > More of the book (offered for context):
> > > >
> > > > "Create a new file $LFS/root/.bash_profile by running the following.
> > > > Replace -march=xxx with the
> > > > proper value for your machine:
> > > >
> > > >
> > > > cat > $LFS/root/.bash_profile << "EOF"
> > > > # Begin /root/.bash_profile
> > > >
> > > > alias ls='ls -a --color'
> > > >
> > > > PS1='\u:\w\$ '
> > > > TERM=linux
> > > > CFLAGS="-O3 -march=xxx"
> > > > CXXFLAGS=$CFLAGS
> > > >
> > > > export PS1 TERM CFLAGS CXXFLAGS"
> > > >
> > > >
> > >
> > > --
> > >
> > > Andrew Plumb, VE3SLG
> > > mailto://andrew(at)plumb(dot)org
> > > http://www.plumb.org/tekmage/
> > > Today's High:  http://todayshigh.webhop.net/
> > >
> > >
> > > --
> > > Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
> > > and put unsubscribe in the subject header of the message
> > >
> > >
> >
> >
> > --
> > Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
> > and put unsubscribe in the subject header of the message
> >
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices.
> http://auctions.yahoo.com/
> 
> --
> Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
> and put unsubscribe in the subject header of the message

-- 
Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the blfs-support mailing list