vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, I have been compiling and making slack packages with makepkg. I have an athlon machine, so everything naturaly compiles for my athlon, and packages built here dont work on other machines sometimes. Does anyone know how to specify generic i586 or i386 builds when compiling programs, I have googled and cant find the answer. -- Luke Vandervort 1 Timothy 4:8 For bodily exercise profiteth little: but godliness is profitable unto all things, having promise of the life that now is, and of that which is to come. |
| |||
| Hi, > Does anyone know how to specify generic i586 or i386 builds when > compiling programs, I have googled and cant find the answer. export CFLAGS="-march=i586 (...)" export CXXFLAGS=${CFLAGS} This should work. Take a look at the configure script options (./configure --help), I think that there are some parameters that can be specified here too. Cheers. |
| |||
| On Sat, 26 Jul 2003 17:05:56 +0200, Julien Ponge <julien_ponge@yahoo.fr> wrote: > > export CFLAGS="-march=i586 (...)" > export CXXFLAGS=${CFLAGS} > -march=i586 or -march=i686 for that processor only -mcpu=i586 or -mcpu=i586 to tune the code to that processor -- -core_dump -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS/CC d- s-:+ a--- C+++ UL+ P L++++ E--- W++ N+++ o? K? w(--) O? M-- V? PS+(---) PE(++) Y+ PGP- t+ 5? X+ R tv b DI- D+(---) G e h! r--(---) z-- ------END GEEK CODE BLOCK------ Segmentation fault (core dumped) |
| ||||
| On Sat, 26 Jul 2003 17:59:30 +0000, core_dump wrote: > On Sat, 26 Jul 2003 17:05:56 +0200, Julien Ponge <julien_ponge@yahoo.fr> > wrote: >> >> export CFLAGS="-march=i586 (...)" >> export CXXFLAGS=${CFLAGS} >> >> > -march=i586 or -march=i686 for that processor only -mcpu=i586 or > -mcpu=i586 to tune the code to that processor This is Out of topic for this thread but now that you mention it. Will it overide the default i386 arch. setting in most ./configure script? So that I can recompile all the slackware src code to match my CPU arch.? |