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: I'm trying to get crosstool-ng ported to gentoo


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: signature.asc
Description: OpenPGP digital signature


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