Skip to content

Cross Compiling…

February 23, 2013

This is the shell fragment I source when I compile for my (old) 32 bit Pentium 200 mmx

export CHOST="i586-pc-linux-gnu"
export CFLAGS="-march=pentium-mmx -m32 -O2 -fomit-frame-pointer"
export CXXFLAGS="${CFLAGS}"

Pentium mmx

This is the shell fragment I source when I compile for my 64 bit Core i7

export CHOST="x86_64-pc-linux-gnu"
export CFLAGS="-march=corei7-avx -O2"
export CXXFLAGS="${CFLAGS}"

Core i7 AVX

From → Technology

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: