Date: Fri, 28 Apr 2000 16:14:22 -0400 From: Robert Withrow <bwithrow@nortelnetworks.com> To: freebsd-hackers@freebsd.org Subject: Cross building freebsd? Message-ID: <200004282017.QAA14661@pobox.engeast.BayNetworks.COM>
next in thread | raw e-mail | index | archive | help
I've searched through the mailing list archives and otherwise
searched around, but haven't found any real solid information,
so...
I'm looking for any and all information about for cross-building
Freebsd for embedded Powerpc platforms. (The powerpc porting project
is just getting started and this info isn't available there.)
[Background: I've ported Chorus and Linux to this platform. So
I pretty well understand the generic process. I just need
freebsd-specific info.]
Specifically, I need to know:
1. Exactly what FreeBSD-specific things need to be done to a
GCC-2.95.2 compilation system to get cross builds to work?
a. What headers should be used? (Not newlib, right?)
b. What as and ld should be used.
c. What kind of abi options are necessary? Like stack
frames, -f<whatevers>, etc...
d. etc....
I've scanned through the GCC and Binutils stuff and I have a rough
idea, but I'd appreciate advice from someone who's actually been
there and done that! (Maybe one of the original Alpha porters?)
2. What are the mechanical steps needed to insert a new port?
a. I plan to scan for "[Aa]lpha" in the entire source tree and
do what they did, but perhaps there is an easier way? Like, where
are architecture-specific things hiding?
3. How do you actually cross-build FreeBSD? Is there a FAQ?
a. Again, I plan on scanning for alpha, but a cookbook would
be easier.
Thanks!
--
Robert Withrow -- (+1 978 288 8256)
BWithrow@BayNetworks.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004282017.QAA14661>
