logo       

Re: chroot method: archs combos allowed: msg#00189

Subject: Re: chroot method: archs combos allowed
On Sat, 25 Mar 2006, Joe Ciccone wrote:

(gcc -m32 dummy.c -o dummy &&
./dummy | grep "Hi" >/dev/null) || echo "You can not run 32bit programs"

If the program can run it will print Hi. if grep doesn't see Hi you can
take action todo what ever you want.


I don't think that will help on pure64, where no 32-bit libraries are installed :-(

Ken
--
 das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/cross-lfs
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page
<Prev in Thread] Current Thread [Next in Thread>