Forums
Some collaboration needed with building Arch Linux package - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: Some collaboration needed with building Arch Linux package (/showthread.php?tid=366)



Some collaboration needed with building Arch Linux package - Enjo - 10-04-2006

Please read:
http://bbs.archlinux.org/viewtopic.php?p=198719#198719

The problem is that we need to optimize the binary for i686 and need to be sure which options to set.
I know now that release should be = 1
Anything else ?


- thelusiv - 10-04-2006

For optimizing for i686, VDrift has an option for turning on the "-march=..." flag on the compiler. If you run
Code:
scons -h
it tells you the usage is:
Code:
Type: 'scons' to compile with the default options.
      'scons arch=axp' to compile for Athlon XP support (other options: a64, p4, x86)
...
So, you probably want to use it like this:
Code:
scons arch=p4
while someone with an Athlon XP would do
Code:
scons arch=axp
or someone with an Athlon64 would do
Code:
scons arch=a64
Does that help?

If there is something else to be turned on besides "-march=pentium4" then let me know and I can help you out.

By the way I'm not sure if this made it into the last release, but I think you're using SVN anyway right?


- Enjo - 10-08-2006

Arch Linux package has been created

http://aur.archlinux.org/packages.php?do_Details=1&ID=7066&O=0&L=0&C=0&K=vdrift&SB=&SO=&PP=25&do_MyPackages=0&do_Orphans=0&SeB=nd


- thelusiv - 10-08-2006

By the way, there is an new flag for scons
Code:
scons arch=686
to turn on the "-march=i686" compiler option.