On Sun, 18 Aug 2013, Adam Borowski wrote:
> C - ship both versions on i386 and switch between them on runtime

The linker can select at runtime different sets of libraries depending on
some cpu flags.  I think it can do that for SSE2 just fine, you'd build two
libs: one without interesting intructions, and other with them, and place
them/name them appropriately for that to work, all in the same binary
package.

I think the glibc package does that, you might want to take a look at it.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130819003913.gb8...@khazad-dum.debian.net

Reply via email to