Author Topic: dev-img-1.5 tmake  (Read 4173 times)

angst

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • http://
dev-img-1.5 tmake
« on: August 23, 2004, 10:28:32 pm »
I've been trying to set up dev-img-1.5 on my sl6000's ext2 SD card. The cramfs is mounted at /mnt/dev as the instructions say and image_setup.sh completes with no complaints.

I had to add /home/zaurus/develop/bin to the path in /home/QtPalmtop/qpe.sh in order to use g++ and gcc. Small hello world programs compile fine with both.

The problem is that I cannot find tmake anywhere on my zaurus. There are some tmake docs but no executable that i can find. I mounted another copy of dev-img-1.5 on my cf card and searched it with no luck either.

Any ideas? Suggestions?

TIA
--
SL-6000L Sharp ROM 1.12
LEXAR 256 MB 4x USB ENABLED CF
LEXAR 256 MB SD ext2
Targus Universal Wireless Keyboard
SL-5500 Sharp ROM 3.13
LINKSYS WCF11 WIRELESS NETWORK CF
SANDISK 256 MB SD
LEXAR 64 MB CF 4x
--
Ostrich -  The other red meat

clivel

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • http://www.bundu.com
dev-img-1.5 tmake
« Reply #1 on: August 23, 2004, 11:16:34 pm »
Hi,
You can get Tmake from ftp://ftp.trolltech.com/freebies/tmake/.
Although, if I recall correctly it is written in Perl, which means that you will have to have Perl installed to run it.
Regards,
Clive

angst

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • http://
dev-img-1.5 tmake
« Reply #2 on: August 24, 2004, 12:39:11 pm »
Okay. Thanks, clivel. Seeing the tmake docs in the img made me think tmake was in the image.

dev_img-1.5 already has perl 5.8 in it. It spits out the version number when asked though it also complains about some locale (lang, money...) settings. I don't know enough about perl yet to test it out thoroughly.

Thanks.
--
SL-6000L Sharp ROM 1.12
LEXAR 256 MB 4x USB ENABLED CF
LEXAR 256 MB SD ext2
Targus Universal Wireless Keyboard
SL-5500 Sharp ROM 3.13
LINKSYS WCF11 WIRELESS NETWORK CF
SANDISK 256 MB SD
LEXAR 64 MB CF 4x
--
Ostrich -  The other red meat

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
dev-img-1.5 tmake
« Reply #3 on: August 24, 2004, 01:02:06 pm »
The locale warning can be got rid of by exporting the variable PERL_BADLANG=0.

I would suggest adding a line to /opt/Qtopia/bin/qpe.sh with the other exports to do this as .bashrc doesn't seem to run when you first start terminal but qpe.sh does.
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

freizugheit

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://
dev-img-1.5 tmake
« Reply #4 on: August 24, 2004, 11:54:47 pm »
Angst,

Thanks for the pointer for the location of Perl 5.8.0.

As tmake requires perl to be under /usr/bin, the following step help check dev-img-1.5 installaion and acitvate symbolic linkage for perl :

          - To check the installation by typing "which make", it should show "/mnt/card/.zgcc/bin/make" for my case

          - To activate symbolic linkage for  perl:

           ln -s  /mnt/card/perl/perl5.8.0/bin/perl /usr/bin/perl

The following has been tested with the t1 tutorial from qt.
         
- Type "tmake t1.pro > Makefile"
- Type "make" to compile and link the program and the resultant file is t1
- Type "./t1" to activate your qt application.


Voila!!!!

angst

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • http://
dev-img-1.5 tmake
« Reply #5 on: August 25, 2004, 04:23:39 pm »
Thanks for the tips iamasmith, freizugheit. I'll get this thing working properly sooner or later. Hopefully sooner than later.
--
SL-6000L Sharp ROM 1.12
LEXAR 256 MB 4x USB ENABLED CF
LEXAR 256 MB SD ext2
Targus Universal Wireless Keyboard
SL-5500 Sharp ROM 3.13
LINKSYS WCF11 WIRELESS NETWORK CF
SANDISK 256 MB SD
LEXAR 64 MB CF 4x
--
Ostrich -  The other red meat