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: ct-ng question


On Wed, Aug 17, 2011 at 10:53 AM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
> Guylhem, Bryan, All,
>
> On Wednesday 17 August 2011 19:47:48 Bryan Hundven wrote:
>> On Wed, Aug 17, 2011 at 10:34 AM, Guylhem Aznar <crossgcc@guylhem.net> wrote:
>> > I am wondering how complicated would it be to support running ct-ng
>> > from the current directory instead of reading the directories in
>> > /usr/local/share ?
>>
>> or you can install it to a different directory. I usually install it
>> to ${HOME}/ctng:
>>
>> $ ./configure --prefix=${HOME}/ctng
>> $ make
>> $ make install
>
> Yes, indeed, but that either requires setting PATH, or calling ct-ng with the
> full path-name.
>
> I also treat my ${HOME} as a prefix for some stuff, and ${HOME}/bin is first
> in my PATH already.

Yup. Forgot to mention that part. I add something like:

if [ -d ${HOME}/ctng/bin ]; then
  PATH=${HOME}/ctng/bin:$PATH
fi

to my .profile

> 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. ?|
> '------------------------------^-------^------------------^--------------------'
>

-Bryan

--
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]