9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Paul Lalonde <plalonde@telus.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] impressive
Date: Mon,  8 May 2006 19:12:13 -0700	[thread overview]
Message-ID: <100B50D3-71C0-4E24-A041-EFEFCF14214F@telus.net> (raw)
In-Reply-To: <2071445dfff98d5102991b81d9832386@quanstro.net>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I just did it over the last two weeks.  Cross compiles 2.5 platfroms  
(SPUs are strange), with tests and debug targets.  Not too bad if you  
are willing to let *one* person hold the per-directory included- 
makefiles in order.  It makes a huge difference (both things, the  
full dependency tree, and the one person thing).
But the code is a little rude - your world winds up with too many  
parameterized make variables: $($(TARGETOS)$(DIR)BUILDDIR).  And you  
have to use GNU make's target-local variables to remember that state.
It ain't pretty.

Is there a better solution?

Paul

On 8-May-06, at 6:39 PM, quanstro@quanstro.net wrote:

> cross compile with gcc? you MUST be mad! ;-)
>
> recursive make considered harmful.  yadda yadda yadda.  i've never  
> seen
> a reasonable solution to this problem?  while you could build a  
> full dependency
> graph with make or mk, it seems more trouble than it's worth.
>
> i build a system like this for gnu make a year ago.  it was fragile  
> and way too much work
> to maintain.
>
> - erik
>
> On Mon May  8 20:19:44 CDT 2006, plalonde@telus.net wrote:
>>
>> Part of the problem is that autoconf also tries, weakly, to deal with
>> cross-compilation.  It simultaneously gets blamed for the crap make
>> systems that surround most larger systems - recursive make
>> invocations that simply don't have enough of the tree to build non-
>> trivial systems well.  Put those two elements together and you get a
>> real mess.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEX/p+pJeHo/Fbu1wRAsD1AKDQYaUKb6/RUxx3jSy+nQNIan5U1wCfZFe6
liLHRvL/8/QjjkW8Hd8ZFU4=
=wVrJ
-----END PGP SIGNATURE-----


  reply	other threads:[~2006-05-09  2:12 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-26  0:26 erik quanstrom
2006-04-26  0:48 ` geoff
2006-04-26  0:54   ` Roman Shaposhnick
2006-04-26  0:53 ` Roman Shaposhnick
2006-04-26  2:15   ` Taj Khattra
2006-04-26  4:59     ` David Leimbach
2006-04-26 12:37       ` Anthony Sorace
2006-04-26 15:28     ` Rian Hunter
2006-04-26 16:39     ` Micah Stetson
2006-04-26 18:02       ` Bruce Ellis
2006-04-26 20:14         ` Micah Stetson
2006-05-08 14:50       ` Harri Haataja
2006-05-08 15:04         ` LiteStar numnums
2006-05-08 15:12           ` Charles Forsyth
2006-05-08 20:08             ` Micah Stetson
2006-05-08 20:52             ` LiteStar numnums
2006-05-08 21:10               ` Jack Johnson
2006-05-08 21:17                 ` andrey mirtchovski
2006-05-08 21:18                 ` Paul Lalonde
2006-05-08 22:25                 ` Francisco J Ballesteros
2006-05-09 21:56                   ` Dave Eckhardt
2006-05-10  0:13                     ` geoff
2006-05-10  8:39                       ` Lluís Batlle
2006-05-08 23:31                 ` geoff
2006-05-09  1:18                   ` Paul Lalonde
2006-05-09  1:39                     ` quanstro
2006-05-09  2:12                       ` Paul Lalonde [this message]
2006-05-09  2:20                         ` quanstro
2006-05-09  3:00                           ` Paul Lalonde
2006-05-09  9:32                             ` Bruce Ellis
2006-04-26 22:57     ` Roman Shaposhnick
2006-04-26  4:57 ` David Leimbach
2006-04-26  4:53   ` Ronald G Minnich
2006-04-26  5:11     ` Roman Shaposhnick
  -- strict thread matches above, loose matches on Subject: below --
2006-05-10  0:45 erik quanstrom
2006-05-10  2:09 ` Lyndon Nerenberg
2006-05-10  3:35   ` David Arnold
2006-05-10  4:03     ` Lyndon Nerenberg
2006-05-08 22:02 erik quanstrom
2006-04-27  2:13 erik quanstrom
2006-04-27  1:35 erik quanstrom
2006-04-27  1:23 erik quanstrom
2006-04-27  5:08 ` Micah Stetson
2006-04-27  1:10 erik quanstrom
2006-04-27  2:06 ` Jack Johnson
2006-04-26  3:24 jmk
2006-04-26  2:38 erik quanstrom
2006-04-26  0:55 erik quanstrom
2006-04-26  1:07 ` Roman Shaposhnick
2006-04-25 10:20 erik quanstrom
2006-04-25  2:30 erik quanstrom
2006-04-25  2:48 ` Derek Fawcus
2006-04-24 20:37 Ronald G Minnich
2006-04-24 20:51 ` Charles Forsyth
2006-04-24 21:32 ` Brantley Coile
2006-04-25 11:06   ` Anthony Sorace
2006-04-25 11:08     ` Anthony Sorace
2006-04-25  2:15 ` Derek Fawcus
2006-04-25  2:23   ` Roman Shaposhnick
2006-04-25  2:37     ` Derek Fawcus
2006-04-25  3:51       ` Roman Shaposhnick
2006-04-25  8:17         ` Derek Fawcus
2006-04-25 17:53           ` Roman Shaposhnick
2006-04-26  1:11             ` Derek Fawcus
2006-04-26  1:19               ` Roman Shaposhnick
2006-04-26  2:12                 ` Derek Fawcus
2006-04-25  3:02   ` Andy Newman
2006-04-25  3:13     ` Ronald G Minnich
2006-04-25 19:57     ` Dan Cross

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=100B50D3-71C0-4E24-A041-EFEFCF14214F@telus.net \
    --to=plalonde@telus.net \
    --cc=9fans@cse.psu.edu \
    /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).