This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Configure outside of source tree


Trevor, Kyle, All,

On Tuesday 22 March 2011 16:22:04 Trevor Woerner wrote:
> What is your expected usage scenario?

Basically, enable out-of-tree build of crosstool-NG, for example, in case
the source tree is RO, or on an NFS share, or...

Not too sure it would be very important in the crosstool-NG case. For much
bigger projects (gcc. linux kernel, glibc and so on), it does make sense,
but for crostool-NG, really?

[--SNIP--]
> $ make
> make: *** No targets specified and no makefile found.  Stop.
> $ ls
> That's not what I was expecting :-)

Yep, there are issues with the patch. Kyle already said he'd send an updated
version. Kyle?

> > This will allow 'configure' to be called outside of the sources tree.
> > Example: /tmp/foo/crosstool-ng/configure
> I'm guessing this is a matter of doing things differently, but I'm not
> sure what's gained by being able to configure outside the source tree
> if I then have to move back to the source tree to build (or use a -C
> cmdline option to 'make').

Exactly. I've looked at it, and it is not very easy. Not impossible either,
but it will require some changes in the Makefile so use files from ${src_dir}
and put the result in ${obj_dir} (to keep standard terminology.

But I doubt it will be really usefull. If Kyle can come with a sane patch,
with limited impact, then I'm ready to include it, but that better be an
easy patch (or even a patch series, with smal incremental changes).

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]