supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Charlie Brady <charlieb-supervision@budge.apana.org.au>
Cc: supervision@list.skarnet.org
Subject: Re: Cross compiling for VIA C3?
Date: Wed, 27 Apr 2005 23:42:41 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.61.0504272338280.7691@e-smith.charlieb.ott.istop.com> (raw)
In-Reply-To: <24005664.1100907847552.JavaMail.yoppo@jippii.fi>


On Sat, 20 Nov 2004 yoppo@jippii.fi wrote:

>>> Is it possible to cross-compile runit for VIA C3 system? If yes then 
>>> how?
>>> 
>>> If I compile it normally on my athlon machine it doesn't work at all 
>>> in my NAT-machine (VIA).
>> 
>> afair via c3 lack of cmov, what produce 'some' problems when 
>> crosscompiling, what optimizations are you using?

You're not really cross compiling in the classical sense when compiling on 
an athlon for a via c3 target. They're both 100% i386 compatible, as I 
understand it. Certainly the types of compile/link/run tests that the 
build system does to determine available OS features will provide the 
correct answers, so that part of the cross-compilation puzzle isn't an 
issue.

> The latest try was with -O2 -march=i586 -mcpu=i586 don't know if Iam missing 
> something, but it seems like it could not be cross compiled just changing the 
> optimizations.
>
> Now after studying the compile process it seems like it makes some kind of 
> testing on compile time but I dont have any clues how to "hack" the compile 
> process so it would work in the VIA C3.

I don't think you need to. Just set the compile options correctly to get 
the right instruction set to be used.

What runtime problems do you have when you try to execute the binaries 
compiled under athlon on the c3?

---
Charlie


  parent reply	other threads:[~2005-04-28  3:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-19 23:44 yoppo
2004-11-22 15:08 ` Gerrit Pape
2004-12-01  5:17   ` Charlie Brady
2005-04-28  3:42 ` Charlie Brady [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-11-24 11:24 yoppo
2004-11-24  0:58 yoppo
2004-11-24  9:15 ` Rafal Bisingier
2005-04-28  3:44 ` Charlie Brady
2004-11-19  2:29 yoppo
2004-11-19 14:19 ` Alejandro Mery

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.61.0504272338280.7691@e-smith.charlieb.ott.istop.com \
    --to=charlieb-supervision@budge.apana.org.au \
    --cc=supervision@list.skarnet.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).