Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] Cross-Building - why not do a Cross-Build meta-spell ?

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Belxjander Serechai <Belxjander AT Icqmail.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: [SM-Discuss] Cross-Building - why not do a Cross-Build meta-spell ?
  • Date: Sat, 06 Sep 2003 02:34:17 +1300

Hello Everyone...

Ive done a small piece of scripting towards doing a whole
binutils / gcc bootstrap / glibc / gcc full compiler setup

and so far I have had the first two parts working but the second two
refuse to complete fully...

all the spell needs is basic information about each ARCH option
in a folder within itself... and the user can select what ARCH options
and then the spell need only loop with cross-compilation casting
the appropriate items into /opt/cross-build/<arch>
then build for target native into /opt/cross-compiled/<arch>

I do see one sticking point in when /opt is not seperated out...
as I have / /usr /var /home partitioning with only 512MB total
for the / partition...

I have also adapted in the m68k-amiga GCC toolchain as that only comes
as pre-compiled binaries... it may be simpler to have a grimoire aside
specifically for cross-development so not to overload the spells
and make use of the facilities already existing in sorcery for
recompilation of gcc on glibc by arch being cast...
things like that

Anyway that is a couple of ideas...

Regards
Jeremy Sutherland (Belxjander on irc.freenode.net / #SourceMage)

--
========================================================================
____,,,^..^,,,__________________________________________________________
'Belxjander Serechai'

AmigaOS 3.5 / Amiga A4000 A3640 040 Desktop,2MB(Chip),16MB(Fast)
AmigaOS Development
SourceMage GNU/Linux Development

========================================================================

========================================================================





Archive powered by MHonArc 2.6.24.

Top of Page