ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: How to compile C codes in Debian OS?

To:
Subject: Re: [ts-7000] Re: How to compile C codes in Debian OS?
From: Jim Jackson <>
Date: Tue, 26 Aug 2008 20:56:56 +0100 (BST)


On Tue, 26 Aug 2008, Yuping Dong wrote:

> Thank you very much for your help!
> What I did is, I first logged in to the TS-Linux which is installed in the
> on-board flash memory. Then I plugged in the USB stick which is shipped as a
> component of the development kit, and run the scripts
> "/usr/bin/loadUSBModules.sh" and "/usr/bin/loadUSB.sh" and I was able to
> work with the Debian OS. I typed "help" to see what commands are available,
> but it turns out that no "gcc" or "g++", even no "apt-get" available there.
>
> I think the best way is to use a cross compiler...

Ok. I sort of guessed that was what you had done.

gcc and the rest are there.

I'm not exactly sure where those scripts mount the USB flash stick.
But if they mount it in, for instance, /mnt/usbstick ,
then try this...

login as usual, then try


   chroot /mnt/usbstick

this will give you a shell where it thinks that /mnt/usbstick is '/' or 
your file system root. Now you should be able to check what is there.

  which gcc

should tell you where gcc is, and it should be executable.

cheers
Jim

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU