From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/632 Path: main.gmane.org!not-for-mail From: Rafal Bisingier Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Cross compiling for VIA C3? Date: Wed, 24 Nov 2004 10:15:23 +0100 Message-ID: <20041124091523.GA5640@localhost> References: <29331726.1101257926558.JavaMail.yoppo@jippii.fi> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1101287688 10092 80.91.229.6 (24 Nov 2004 09:14:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 24 Nov 2004 09:14:48 +0000 (UTC) Original-X-From: supervision-return-871-gcsg-supervision=m.gmane.org@list.skarnet.org Wed Nov 24 10:14:36 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 1CWtES-0000uV-00 for ; Wed, 24 Nov 2004 10:14:36 +0100 Original-Received: (qmail 16084 invoked by uid 76); 24 Nov 2004 09:14:57 -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 16078 invoked from network); 24 Nov 2004 09:14:56 -0000 Original-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <29331726.1101257926558.JavaMail.yoppo@jippii.fi> User-Agent: Mutt/1.4.2.1i Xref: main.gmane.org gmane.comp.sysutils.supervision.general:632 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:632 On Wed, Nov 24, 2004 at 02:58:46AM +0200, yoppo@jippii.fi wrote: > > I compiled the package now on i586 machine and the runit works fine on > VIA. Too bad that I don't allways have this possibility so I still need > to get the cross compiling to work. I compared the choices which was > made during compiling and all of them are the same as on my athlon > machine so they can't be causing the problems. > > When I tried the "cross compiled" binaries only the runit-init seems to > fail with illegal instruction other binaries works. Right now I don't > 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? -- Greetings Rafal Bisingier