From: David Kramer <david@thekramers.net>
To: gcc-help@gcc.gnu.org
Subject: Re: how to combine gcc and binutils source into one tree
Date: Mon, 30 Aug 2004 17:04:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.58.0408301210210.16746@uni.thekramers.net> (raw)
In-Reply-To: <1969.192.168.0.4.1093881872.squirrel@nautilus.tsunami.us>
On Mon, 30 Aug 2004 steve@millersnet.net wrote:
> >they have common directories libiberty,include,texinfo,config, etc....
> >what is the best way to merge them?
> >
> >
> >thanks in advance
> >Steven
>
> I ask this question last week, is this not the right list for this question?
I will give it my best shot, but I am acutally new to compiling
gcc/binutils myself. Gaining Way Too Much experience in it in the last
week or so though.
In combining projects like this in general, if those common directories
have completely identical contents, then you can pull it off. The way you
integrate them is by changing the master Makefile to call the new
directories too, and to make sure the install targets for the new
directories get called too.
If I were a betting man (which I'm not), I would try something devious
like:
- Untar package A into DIR1
- Untar package B into DIR2
- Copy the unique directories from package B to DIR1
- Copy the main Makefile of package B to $DIR1/Makefile.packageb
- cd $DIR1
- Configure and make package A
- Make package B using the makefile Makefile.packageb
One obstacle I fear is that their configure scripts will need different
things.
I would be fascinated to hear whether this works or not. Let me know.
I would also be interested in hearing why you want to do this though. TO
save 20 minutes of compile time?
----------------------------------------------------------------------------
DDDD David Kramer david@thekramers.net http://thekramers.net
DK KD
DKK D You don't usually hear "hydraulics" and "simplicity"
DK KD in the same sentence.
DDDD Cathy Rogers, Junkyard Wars
next prev parent reply other threads:[~2004-08-30 16:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-30 16:19 steve
2004-08-30 16:52 ` Eljay Love-Jensen
2004-08-30 17:04 ` David Kramer [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-08-30 17:42 steve
2004-08-30 18:28 ` David Kramer
2004-08-30 17:10 steve
2004-08-30 17:22 ` David Kramer
2004-08-26 16:05 steve
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.58.0408301210210.16746@uni.thekramers.net \
--to=david@thekramers.net \
--cc=gcc-help@gcc.gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).