From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22820 invoked by alias); 7 Jan 2013 21:34:21 -0000 Received: (qmail 22710 invoked by uid 22791); 7 Jan 2013 21:34:19 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_05,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,TW_XJ,URIBL_DBL_SPAM X-Spam-Check-By: sourceware.org Received: from p02c12o147.mxlogic.net (HELO p02c12o147.mxlogic.net) (208.65.145.80) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Jan 2013 21:34:13 +0000 Received: from unknown [76.164.174.82] (EHLO p02c12o147.mxlogic.net) by p02c12o147.mxlogic.net(mxl_mta-6.16.0-0) with ESMTP id 55f3be05.737eb940.27494.00-554.70219.p02c12o147.mxlogic.net (envelope-from ); Mon, 07 Jan 2013 14:34:13 -0700 (MST) X-MXL-Hash: 50eb3f5509f4dca3-74b0d008f631cb55d8cc0aa15c01eae828248c9b Received: from unknown [76.164.174.82] (EHLO ex-hc3.corp.adtran.com) by p02c12o147.mxlogic.net(mxl_mta-6.16.0-0) over TLS secured channel with ESMTP id 64f3be05.0.27439.00-338.70058.p02c12o147.mxlogic.net (envelope-from ); Mon, 07 Jan 2013 14:34:10 -0700 (MST) X-MXL-Hash: 50eb3f524baa2972-4b14b7b2e920f416ac99b8fdf5933220bf65636d Received: from ex-mb1.corp.adtran.com ([fe80::51a3:972d:5f16:9952]) by ex-hc3.corp.adtran.com ([fe80::3892:20fa:600f:75c6%15]) with mapi id 14.01.0421.002; Mon, 7 Jan 2013 15:33:57 -0600 From: ANDY KENNEDY To: "'Yann E. MORIN'" , "crossgcc@sourceware.org" Subject: RE: [PATCH] kernel/linux: Allow user to manually enter Linux version Date: Mon, 07 Jan 2013 21:34:00 -0000 Message-ID: References: <201301071849.32321.yann.morin.1998@free.fr> <201301072228.11334.yann.morin.1998@free.fr> In-Reply-To: <201301072228.11334.yann.morin.1998@free.fr> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-AnalysisOut: [v=2.0 cv=NMtiDTGg c=1 sm=1 a=J+LXdEUA8t8MtBPt16/Qbg==:17 a] X-AnalysisOut: [=C3ZOIDTcl6cA:10 a=81wuhhTXF5oA:10 a=qZHQZMT3apYA:10 a=BLc] X-AnalysisOut: [eEmwcHowA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=eJNrpio] X-AnalysisOut: [GAAAA:8 a=Zee5hz5KvugA:10 a=pGLkceISAAAA:8 a=CCpqsmhAAAAA:] X-AnalysisOut: [8 a=VwQbUJbxAAAA:8 a=TKiZzrgGAAAA:8 a=n3M9raqdeZ0SCTF_fewA] X-AnalysisOut: [:9 a=CjuIK1q_8ugA:10 a=7F3Zm3RwMHoA:10 a=MSl-tDqOz04A:10 a] X-AnalysisOut: [=4t78-hnhQh4A:10 a=i4BgknWAlzKzQkhB:21 a=Ad-q6bDZjPZvJFcj:] X-AnalysisOut: [21] X-MAIL-FROM: X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2013-01/txt/msg00010.txt.bz2 > -----Original Message----- > From: Yann E. MORIN [mailto:yann.morin.1998@gmail.com] On Behalf Of Yann = E. MORIN > Sent: Monday, January 07, 2013 3:28 PM > To: crossgcc@sourceware.org > Cc: ANDY KENNEDY > Subject: Re: [PATCH] kernel/linux: Allow user to manually enter Linux ver= sion >=20 > Andy, All, >=20 > On Monday 07 January 2013 ANDY KENNEDY wrote: > > Please forgive the ignorance, but was is a driver script? >=20 > Oh, sure! :-) > A simple driver script could be something like: >=20 > ---8<--- > #!/bin/sh > # Call this script something witty, eg.: my-ct-ng ;-) > set -e >=20 > KVER=3D"X.Y.Z" > KDIR=3D"linux-${KVER}" > KFILE=3D"${KDIR}.tar.bz2" > KURL=3D"http://kernel.org/pub/..../${KFILE}" >=20 > if [ ! -f "${KDIR}" ]; then > if [ ! -f "${KFILE}" ]; then > curl "${KURL}" >"${KFILE}" > fi > tar xjf "${KFILE}" > fi >=20 > exec ct-ng "${@}" > ---8<--- >=20 > Well, totally untested. You can refine to your case (eg. git clone + > git checkout instead of curl...), but you get the idea. >=20 > In this case, you're using ct-ng as a "backend" for your real build syste= m, > which in this case is your very, very minimalist "my-ct-ng" script. >=20 > Hence, we call this script a "driver", because it "drives" a sub-process > (here ct-ng), that is it prepares the environment, or some dirs/files... > prior to running the actual program. >=20 > That's exactly what "gcc" (the command) is: it is a compiler driver, that > parses its arguments to see how it was called, and what sub-process it > should call: actuall C compiler (cc1), C++ compiler (cc1plus), linker (ld) > and so on... >=20 > No, it's not in ct-ng's documentation, because it is not specific to > ct-ng. It is a usually-accepted term (I guess). Sometime also referred > to as a frontend, but it is does convey a different, although somewhat > related. meaning. I refer to that as a wrapper, myself, but I'll attempt to record your terminology in the noggin' for later use. So, I have the choice to: 1) maintain my own patch 2) generate and maintain my own Linux kernel downloader/unpacker/etc. I guess I'll go with the patch technique. Thanks again! Andy >=20 > Regards, > Yann E. MORIN. >=20 > -- > .-----------------.--------------------.------------------.--------------= ------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspi= racy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ = | > | +33 223 225 172 `------------.-------: X AGAINST | \e/ There i= s no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspir= acy. | > '------------------------------^-------^------------------^--------------= ------' -- For unsubscribe information see http://sourceware.org/lists.html#faq