Subject: How to create packages with several -march?
To: None <netbsd-users@netbsd.org>
From: Nuno Teixeira <nu@nunotex.freeshell.org>
List: netbsd-users
Date: 03/18/2005 21:17:40
Hello to all,

I came to this question when I use my i386 Athlon XP PC to create
packages to old PCs based on I486 and I586 cpus.

Generally I don't use any -march or -mcpu gcc options to avoid problems.

I'm working and upgrading a Pentium 200 MMX and I like to optimize the
packages with -march=pentium-mmx using my Athlon build system.

Is there any way to create packages with several optimizations like:

	/usr/packages/2.0/i386_pentium-mmx/
	/usr/packages/2.0/i386_athlon-xp/
	/usr/packages/2.0/i386_pentiumpro
	etc...

Using only one build PC?

Thanks,

	Nuno Teixeira
-- 
SDF Public Access UNIX System - http://sdf.lonestar.org