Author Topic: Devloping help  (Read 7329 times)

TuxGeek

  • Newbie
  • *
  • Posts: 26
    • View Profile
Devloping help
« on: September 29, 2004, 01:25:37 am »
I am somewhat new to linux and the Zaurus SL-5500.  I need quite a good explanation on how to install the dev-image. I do know many computer terms, however, not really many of the linux terms and how to add lines to files.  As you can see I need a lot of help.  

I am useing a SL-5500 with a 512 mb SD card from SanDisk with the newest sharp rom.

Any help at all would be greatly apprectiated.

All the help I have gotten from these two is appreciated but hasn't done any good.  Please I need more help.
« Last Edit: September 29, 2004, 06:01:32 pm by TuxGeek »

Chaos

  • Full Member
  • ***
  • Posts: 197
    • View Profile
    • http://zaurus.duelmonsters.ca
Devloping help
« Reply #1 on: September 29, 2004, 02:09:37 am »
I can't help with the dev-img, but personally I'd suggest setting up a cross compiler on a full Linux box, as that has a) more space, and b) it's faster, even if the Linux box is old and slow (like my PII), because of RAM and other considerations.
« Last Edit: September 29, 2004, 02:09:54 am by Chaos »
Sorry. I just don't have the time...

Mag1c

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • http://
Devloping help
« Reply #2 on: September 29, 2004, 07:41:29 am »
Hi,

the install script of dev-img works for me out of the box. You have to be root to install and you should not run it more than once because it makes changes in /etc/fstab. After installation gcc should be ready for work.

so long
Mag1c

TuxGeek

  • Newbie
  • *
  • Posts: 26
    • View Profile
Devloping help
« Reply #3 on: September 29, 2004, 07:13:52 pm »
Sorry but the Help I have received, though greatly appreciated, hasn't helped any.  Can anyone else help me.

freizugheit

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://
Devloping help
« Reply #4 on: September 30, 2004, 03:17:25 am »
Get yourself familiarize with Linux system administration, unix command lines before embarking on programming.

TuxGeek

  • Newbie
  • *
  • Posts: 26
    • View Profile
Devloping help
« Reply #5 on: September 30, 2004, 11:46:14 am »
I am somewhat famliar but I guess I should learn a little bit more.  Are there any suggestions on where I might learn them.  Websites or books or anything.

freizugheit

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://
Devloping help
« Reply #6 on: September 30, 2004, 09:53:02 pm »
Which specific areas you want to learn:

System administration
Network administration
Programming

Current level on the following:

vi                                 :  ?
Network knowlegde        :  ?
Progamming background:   ?

TuxGeek

  • Newbie
  • *
  • Posts: 26
    • View Profile
Devloping help
« Reply #7 on: September 30, 2004, 10:29:14 pm »
I just want to learn what it takes to get a c compiler such as dev-img or zgcc to work and use it.  That it all
Thanks

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
Devloping help
« Reply #8 on: September 30, 2004, 11:46:11 pm »
I have a howto for zgcc if you want to try it but I have it for the 5600.


http://cmisip.home.insightbb.com/zaurus.htm#CCN
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

TuxGeek

  • Newbie
  • *
  • Posts: 26
    • View Profile
Devloping help
« Reply #9 on: September 30, 2004, 11:51:39 pm »
Thanks very much I actually already found that site and it helped alot. I got to step 4 and everything got really messed up.  Could you possibly clarify it a little more, especially the setting up of the compile environment.

Thanks

I got through until

#cp -rf /dev/shm/tmp/* /mnt/card/zaurustmp
cp: /dev/shm/tmp/*: No such file or directory

what do I do here.

also when i installed zgcc.sh alot of operation not permitted errors came up, however it still put all of the header files and all that in the folders.
« Last Edit: October 02, 2004, 02:42:21 pm by TuxGeek »

TuxGeek

  • Newbie
  • *
  • Posts: 26
    • View Profile
Devloping help
« Reply #10 on: October 02, 2004, 11:54:01 am »
Would just anyone who knows what they're doing please help me!

freizugheit

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://
Devloping help
« Reply #11 on: October 03, 2004, 07:21:06 am »
Did you active the installation steps using root?

Are you able to show the contents of this command "ls -l /dev/shm" here?

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
Devloping help
« Reply #12 on: October 03, 2004, 12:41:02 pm »
Quote
I got through until

#cp -rf /dev/shm/tmp/* /mnt/card/zaurustmp
cp: /dev/shm/tmp/*: No such file or directory

what do I do here.

Your tmp directory might be somewhere else.  Just substitute the correct tmp directory.

This is only important if you have a large program that you wish to compile.  For test compiling of small programs you can ignore this step.  

What this is trying to do is to move the contents of your old tmp directory to the SD card.  What does ls /dev/* say?
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

TuxGeek

  • Newbie
  • *
  • Posts: 26
    • View Profile
Devloping help
« Reply #13 on: October 04, 2004, 11:48:56 am »
My stupid terminal doesn't have a scroll bar so this is all that I could see.  Hope it is enough.

/dev/mtdblock 0      /dev/ttyS3
/dev/mtdblock 1      /dev/ttySA0
/dev/nts0         /dev/ttySA1
/dev/nts0a         /dev/ttySA2
/dev/nts0l         /dev/ttyUSB0
/dev/nts0m         /dev/ttyUSB1
/dev/nts1         /dev/ttya0
/dev/nts1a         /dev/ttya1
/dev/nts1l         /dev/ttya2
/dev/nts1m         /dev/ttya3
/dev/null         /dev/ttya4
/dev/par0         /dev/ttya5
/dev/par1         /dev/ttya6
/dev/par2         /dev/ttya7
/dev/port         /dev/ttya8
/dev/ppp         /dev/ttya9
/dev/psaux         /dev/ttyaa
/dev/ptmx         /dev/ttyab
/dev/ptya0         /dev/ttyac
/dev/ptya1         /dev/ttyad
/dev/ptya2         /dev/ttyae
/dev/ptya3         /dev/ttyaf
/dev/ptya4         /dev/urandom
/dev/ptya5         /dev/usbmouse
/dev/ptya6         /dev/zero
/dev/ptya7         

/dev/msys:
fla   fla2   fla4   flb1   flb3
fla1   fla3   flb   flb2   flb4

/dev/pts:
#

freizugheit

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://
Devloping help
« Reply #14 on: October 04, 2004, 10:14:00 pm »
It presumed that you have skipped step 4 and "source zgcc.sh" was activated wihtout any error message, typing "which gcc" should show "/mnt/card/.zgcc/bin/gcc".

Please confirm.
« Last Edit: October 04, 2004, 10:15:46 pm by freizugheit »