From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/633 Path: main.gmane.org!not-for-mail From: yoppo@jippii.fi Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Cross compiling for VIA C3? Date: Wed, 24 Nov 2004 13:24:16 +0200 (EET) Message-ID: <452833.1101295456064.JavaMail.yoppo@jippii.fi> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; Charset=iso-8859-1; Format=Flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1101295473 29680 80.91.229.6 (24 Nov 2004 11:24:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 24 Nov 2004 11:24:33 +0000 (UTC) Original-X-From: supervision-return-872-gcsg-supervision=m.gmane.org@list.skarnet.org Wed Nov 24 12:24:18 2004 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14] ident=qmailr) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1CWvFx-0000zg-00 for ; Wed, 24 Nov 2004 12:24:17 +0100 Original-Received: (qmail 17149 invoked by uid 76); 24 Nov 2004 11:24:38 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 17144 invoked from network); 24 Nov 2004 11:24:38 -0000 Original-To: supervision@list.skarnet.org X-Mailer: Saunalahti webmail - http://saunalahti.fi X-Originating-IP: 213.139.166.93 Xref: main.gmane.org gmane.comp.sysutils.supervision.general:633 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:633 >> I compiled the package now on i586 machine and the runit works fine on= =20 >> VIA. Too bad that I don't allways have this possibility so I still need= =20 >> to get the cross compiling to work. I compared the choices which was=20 >> made during compiling and all of them are the same as on my athlon=20 >> machine so they can't be causing the problems. >>=20 >> When I tried the "cross compiled" binaries only the runit-init seems to= =20 >> fail with illegal instruction other binaries works. Right now I don't=20 >> have a clue what to try next... > > Maybe that's silly, but have you used gcc made for target arch for > cross-compiling? > I don't know how it is on your platform, but on my Linux when I want to > cross-compile for another arch I need to use -gcc instead of > standard gcc made for my arch (of course this -gcc must be build > as a cross-compiler, it can't be just a link to gcc). > So maybe you aren't using the right version of gcc for > cross-compilation? > > --=20 > Greetings > Rafal Bisingier I'm no gcc expert so hard to say if it's silly or no, but all the other=20 packages I cross compiled works OK so I think that the gcc I'm using=20 shouldn't be the one causing this problem. But I can't be sure so I=20 think I must try to look into this too just in case... __ Hanki uusi t=E4ysin ilmainen netti.fi-s=E4hk=F6posti, jopa 10 Mt tilaa vies= teillesi! http://webmail.saunalahti.fi/