public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Re: I'm trying to get crosstool-ng ported to gentoo
  2010-01-15 21:16 ` I'm trying to get crosstool-ng ported to gentoo Yann E. MORIN
@ 2010-01-15 18:17   ` Yann E. MORIN
  2010-01-16 14:57   ` basile
  1 sibling, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2010-01-15 18:17 UTC (permalink / raw)
  To: basile; +Cc: crossgcc

Anthony, All,

On Friday 15 January 2010 19:14:07 Yann E. MORIN wrote:
> Something like:
>   --build)      shift;; # Skip, auto-stuff compatibility
>   --host)       shift;; # Skip, auto-stuff compatibility

Oh, sorry:
  --build=*)  shift;;   # blah...
  --build)    shift 2;; # blah...
and so on...

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: I'm trying to get crosstool-ng ported to gentoo
       [not found] <4B5065E4.5000602@opensource.dyc.edu>
@ 2010-01-15 21:16 ` Yann E. MORIN
  2010-01-15 18:17   ` Yann E. MORIN
  2010-01-16 14:57   ` basile
  0 siblings, 2 replies; 4+ messages in thread
From: Yann E. MORIN @ 2010-01-15 21:16 UTC (permalink / raw)
  To: basile; +Cc: crossgcc

Anthony,

(next time, please CC; the crossgcc ML.)

On Friday 15 January 2010 13:56:04 basile wrote:
> I find your crosstool-ng useful

Thank you!

> and would like to get it ported to gentoo.

That would be nice! I'm glad someone takes the burden to package it! :-)

> Here's the reference for the gentoo port ->
> 	http://bugs.gentoo.org/show_bug.cgi?id=258396

OK, I've had a look...

> Notice that I had to create a patch because of the way your configure
> script works.  I'm not sure how you generated it, but it doesn't look
> like it came from a configure.ac via autoconf.

configure was written by hand, I can't stand the auto-stuff any more.

> As a result, it doesn't 
> accept some standard configure options that are used by the packaging
> system in gentoo and perhaps other distros.  Would you consider
> modifications of your build to bring it better in line?  I'd be willing
> to write that code.

From what I read in the above bug report, you are only missing --build and
--host. That would be quite acceptable to recognise those two (as you said,
they are quite standard). We should just silently accept them. I am not
really happy with the fix you proposed, because I do want to catch unknown
options, rather than skip over them, in case the user made a mistake.

Something like:
  --build)      shift;; # Skip, auto-stuff compatibility
  --host)       shift;; # Ditto.
  --whatever)   shift;; # Ditto.

I'd be happy to apply a patch in this direction, if you want to submit it!
Please, be sure to read docs/overview.txt, there's an explanation on how to
properly submit patches.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: I'm trying to get crosstool-ng ported to gentoo
  2010-01-15 21:16 ` I'm trying to get crosstool-ng ported to gentoo Yann E. MORIN
  2010-01-15 18:17   ` Yann E. MORIN
@ 2010-01-16 14:57   ` basile
  2010-01-16 16:54     ` Yann E. MORIN
  1 sibling, 1 reply; 4+ messages in thread
From: basile @ 2010-01-16 14:57 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

[-- Attachment #1: Type: text/plain, Size: 1390 bytes --]

Yann E. MORIN wrote:
> From what I read in the above bug report, you are only missing --build and
> --host. That would be quite acceptable to recognise those two (as you said,
> they are quite standard). We should just silently accept them. I am not
> really happy with the fix you proposed, because I do want to catch unknown
> options, rather than skip over them, in case the user made a mistake.
>
> Something like:
>   --build)      shift;; # Skip, auto-stuff compatibility
>   --host)       shift;; # Ditto.
>   --whatever)   shift;; # Ditto.
>
> I'd be happy to apply a patch in this direction, if you want to submit it!
> Please, be sure to read docs/overview.txt, there's an explanation on how to
> properly submit patches.
>   

Unfortunately its missing  --build --host --infodir --datadir
--sysconfdir and --localstatedir.  I'm not sure you want to polute your
configure to that degree.  I posted a new patch to
http://bugs.gentoo.org/show_bug.cgi?id=258396 which is more in line with
your suggestion.  I agree my original patch changed the behavior of

    *) printf "Unrecognised option: '${1}'\n"; do_help; exit 1;;

in a disagreable fashion.  Let me know what you think and I'll submit as
per docs/overview.txt.

-- 

Anthony G. Basile, Ph.D.
Chair of Information Technology
D'Youville College
Buffalo, NY 14201
USA

(716) 829-8197




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: I'm trying to get crosstool-ng ported to gentoo
  2010-01-16 14:57   ` basile
@ 2010-01-16 16:54     ` Yann E. MORIN
  0 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2010-01-16 16:54 UTC (permalink / raw)
  To: basile; +Cc: crossgcc

Anthony, All,

On Saturday 16 January 2010 15:57:32 basile wrote:
> Unfortunately its missing  --build --host --infodir --datadir
> --sysconfdir and --localstatedir.  I'm not sure you want to polute your
> configure to that degree.  I posted a new patch to
> http://bugs.gentoo.org/show_bug.cgi?id=258396 which is more in line with
> your suggestion.

Yes, looks pretty good. Please submit! :-)

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-16 16:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4B5065E4.5000602@opensource.dyc.edu>
2010-01-15 21:16 ` I'm trying to get crosstool-ng ported to gentoo Yann E. MORIN
2010-01-15 18:17   ` Yann E. MORIN
2010-01-16 14:57   ` basile
2010-01-16 16:54     ` Yann E. MORIN

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).