Hi Folks

I am attempting to build openswan for BuC4 and I am worried a bit about
the environment preset in MasteriInclude.mk.

We define GNU_TUNE as pentiumpro, which according to the gcc doc should
produce code for this kind of architecture, whereas GNU_ARCH is set to
I486 which definitely is not a pentium pro.

The BT_COPT_FLAGS use these definitions and pass it to the compiler in
some locations. Now for the kernel and modules this probably gets
overwritten, but for other use of BT_COPT_FLAGS this appears not to be
correct.

export GNU_ARCH:=i486
# set target optimization here
export GNU_TUNE:=pentiumpro

export BT_COPT_FLAGS=-Os -march=$(GNU_ARCH) -mtune=$(GNU_TUNE)

This leads to

USERCOMPILE="-g -Os -march=i486 -mtune=pentiumpro"

It might make no difference, but does not look right to me.

cheers

Erich


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to