Re: Packaging for multiarch i386 sse2/non-sse2
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
Reply to: