Author Topic: Native Gcc Compiler For X/qt  (Read 56167 times)

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« on: April 11, 2006, 03:32:50 am »
I have updated the native gcc 2.95-2 dev image to inlcude the required headers to compile and build X/Qt and pdaXrom apps.  With this image, you can create console apps, qtopia apps, kernel modules and X/gtk+/gnome apps. The compiled binaries should run on Sharp/Cacko and pdaXrom.
« Last Edit: April 11, 2006, 03:34:37 am by Meanie »
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Native Gcc Compiler For X/qt
« Reply #1 on: April 11, 2006, 04:04:05 am »
Oh yes, this is a dream!!!

When? When?  
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
Native Gcc Compiler For X/qt
« Reply #2 on: April 11, 2006, 06:10:20 am »
2.4.18 or 2.4.20 kernel or both?
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #3 on: April 11, 2006, 10:43:01 am »
it is bundled with the 2.4.20 kernel headers since both my Zauri use that.
and it will be available soon, as soon as i iron out all the little nitty gritty problems. i am currently testing/using it to build pdaXqtrom.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

DaemonsGR

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Native Gcc Compiler For X/qt
« Reply #4 on: April 11, 2006, 12:45:41 pm »
pdaXqtrom????? sound very cool!!!!
Is this an pdax with QT?
Tasos Varoudis (Tech)
Tasos Varoudis (Architecture)

Zaurus sl-c3100 + Wlan, Lan ,BT ,etc
NOW running... pdaXrom 1.1.0beta3 + OOo + custom apps/setup + debian +.. not yet installed OpenBSD snapshot

WAS:Cacko 1.23 + X/QT + debian

Home-Net
Debian WIFI Router ,OpenBSD Bridge Firewall ,Win 2k Domain Server , :) Sun Fire v120 , :) Gentoo Main Server: Dual PIII

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #5 on: April 11, 2006, 08:37:39 pm »
Quote
pdaXqtrom????? sound very cool!!!!
Is this an pdax with QT?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122677\"][{POST_SNAPBACK}][/a][/div]

it's pdaXrom running under X/Qt. it will run the same apps as pdaXrom. the goal is to be able to install directly from the pdaXrom feeds once this is done so you can get the latest pdaXrom apps like Firefox 1.5, Abiword 2.4, etc... while running Sharp/Cacko
« Last Edit: April 11, 2006, 08:38:44 pm by Meanie »
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Native Gcc Compiler For X/qt
« Reply #6 on: April 12, 2006, 01:06:16 am »
I always wondered if pdaXrom applications could run on Sharp/Cacko.
That would be great, because there seems to be so many more applications for pdaXrom.
A question while on this subject:
What does "armv5tel" mean?
Does it mean "pdaXrom only"? or "X" only?

Jon
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #7 on: April 14, 2006, 09:04:03 am »
Quote
I always wondered if pdaXrom applications could run on Sharp/Cacko.
That would be great, because there seems to be so many more applications for pdaXrom.
A question while on this subject:
What does "armv5tel" mean?
Does it mean "pdaXrom only"? or "X" only?

Jon
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

well pdaXrom and Sharp/Cacko use the same kernel and the binaries are compatible. However, some things won't work because of different library dependencies, and the big difference in GUI manager, ie X vs QTe. Most console apps will work on any Zaurus.
Now armv5tel is actually the proper name for ipk files that work on clamshell models.

see this thread for more details [a href=\"https://www.oesf.org/forums/index.php?showtopic=16750&hl=]https://www.oesf.org/forums/index.php?showtopic=16750&hl=[/url]

And if anyone want to try my zgcc image, here is the link:
http://zaurus.daemons.gr/menaie/mirror/stuff/zgcc2-95-2.zip

It works on my Z because I build it there, but hopefully it will work for others too
Seriously, I need others to test it to make sure all the library dependencies have been resolved for the installed utilities on the image.
The image contains the 2.95-2 gcc compiler and tools plus perl and xml parser. I also added tools and config files as well as headers to be able to compile X and qtopia apps.
The zip file contains a squashfs image and an install shell script. You need to have the squashfs module installed first. The shell script will mount the squashfs file and call zgcc-setup which will created the required symlinks.
« Last Edit: April 14, 2006, 09:14:05 am by Meanie »
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

amotyka

  • Newbie
  • *
  • Posts: 13
    • View Profile
Native Gcc Compiler For X/qt
« Reply #8 on: April 14, 2006, 01:01:49 pm »
I am trying to compile xgs, an apple iigs emulator. When I run the ./configure it gets as far as "checking whether byte ordering is bigendian..." and then quits, saying "cannot run test program while cross-compiling" This seems odd because I'm doing a native compile.

Please note I am new to compiling so forgive me if this sounds like a simple question.

Anthony

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Native Gcc Compiler For X/qt
« Reply #9 on: April 15, 2006, 12:00:50 am »
Trying to install but keep getting error message that says:

"error: you have to be root to run this!"

Don't understand what problem is as I've tried doing 'su' or 'su -' first but doesn't help...

Also, when I do 'su -' and then './install.sh' after I've navigated to directory where the install files are located, I get the message './install.sh not found'.

When I do 'pwd' I then get '/home/root'.

So, it's changed directory location on me!

What's the trick to get this installed??

 

Thanks,

Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

Borealid

  • Newbie
  • *
  • Posts: 46
    • View Profile
Native Gcc Compiler For X/qt
« Reply #10 on: April 15, 2006, 03:27:17 pm »
That "-" after "su" tells it to change to the user's home directory and act in all ways as if you'd just logged in as that user (in this case root).  Why not just do a "su" and then navigate to the directory?

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Native Gcc Compiler For X/qt
« Reply #11 on: April 15, 2006, 04:33:00 pm »
Thanks for your help, Borealid!

However, as I wrote I tried that....and just tried that again to make sure....but I get that error message about not being root again...

Any other ideas???

 


Thanks,

Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #12 on: April 15, 2006, 07:32:00 pm »
Quote
Thanks for your help, Borealid!

However, as I wrote I tried that....and just tried that again to make sure....but I get that error message about not being root again...

Any other ideas???

 


Thanks,

Mark
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123335\"][{POST_SNAPBACK}][/a][/div]

sorry, I included the wrong install script. please replace it with this one
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Native Gcc Compiler For X/qt
« Reply #13 on: April 15, 2006, 10:39:56 pm »
Thanks for the updated install script, Meanie!

Well, at least for once I know that I did something wrong....  

Anyway tried out the script but now I get an error message that it can't find any spare loop devices....

Code: [Select]
# ./install.sh
Installing zgcc 2.95.2 to /usr/mnt.rom/card
mount: Could not find a spare loop device
./install.sh: /mnt/zgcc/zgcc-config: not found
.: Can't open /mnt/zgcc/zgcc-env

So checked 'mount' and 'df'.....

Code: [Select]
#mount
rootfs on / type rootfs (rw)
/dev/root on / type jffs2 (ro)
/proc on /proc type proc (rw)
/dev/mtdblock3 on /home type jffs2 (rw,noatime)
/dev/ram1 on /dev type minix (rw)
none on /dev/shm type tmpfs (rw)
/dev/hdc1 on /hdd1 type ext3 (ro,noatime)
/dev/hdc2 on /hdd2 type ext3 (rw,noatime)
/dev/hdc3 on /hdd3 type vfat (rw,noatime)
none on /dev/pts type devpts (rw)
/dev/loop0 on /home/system/var/mnt/xqt/xqt-gtk-jumbo type cramfs (rw)
/dev/loop1 on /home/system/var/mnt/xqt/xqt-apps type cramfs (rw)
/dev/mmcda1 on /usr/mnt.rom/card type vfat (rw,noatime)
/dev/loop2 on /home/system/var/mnt/xqt/xqt-mozilla type cramfs (rw)
/dev/loop3 on /home/system/var/mnt/xqt/xqt-openoffice type cramfs (rw)
/dev/loop4 on /hdd3/debroot type ext2 (rw)
/proc on /hdd3/debroot/proc type proc (rw)
/dev/loop5 on /hdd3/debroot/home/zaurus/OpenOffice.org1.1.4 type cramfs (rw)
/dev/mmcda1 on /hdd3/debroot/mnt/card type vfat (rw,noatime)
/dev/mtdblock3 on /hdd3/debroot/etc/resolv.conf (deleted) type jffs2 (rw,noatime)
/dev/loop6 on /hdd3/debroot/home/zaurus/OpenOffice.org1.1.4 type cramfs (rw)
/dev/loop7 on /hdd3/debroot/home/zaurus/OpenOffice.org1.1.4 type cramfs (rw)

#df
Filesystem                Size      Used Available Use% Mounted on
rootfs                   32.0M     32.0M         0 100% /
/dev/root                32.0M     32.0M         0 100% /
/dev/mtdblock3           89.0M     39.1M     49.9M  44% /home
/dev/ram1                44.0k     30.0k     14.0k  68% /dev
none                      1.0M     80.0k    944.0k   8% /dev/shm
/dev/hdc1                 9.5M      1.0M      8.0M  11% /hdd1
/dev/hdc2                 9.5M      1.1M      7.9M  12% /hdd2
/dev/hdc3                 3.8G    694.9M      3.1G  18% /hdd3
/dev/loop0               38.5M     38.5M         0 100% /home/system/var/mnt/xqt/xqt-gtk-jumbo
/dev/loop1              111.3M    111.3M         0 100% /home/system/var/mnt/xqt/xqt-apps
/dev/mmcda1             975.6M    849.5M    126.2M  87% /usr/mnt.rom/card
/dev/loop2               53.0M     53.0M         0 100% /home/system/var/mnt/xqt/xqt-mozilla
/dev/loop3              231.8M    231.8M         0 100% /home/system/var/mnt/xqt/xqt-openoffice
/dev/loop4              495.8M    457.7M     12.5M  97% /hdd3/debroot
/dev/loop5              179.0M    179.0M         0 100% /hdd3/debroot/home/zaurus/OpenOffice.org1.1.4
/dev/mmcda1          975.6M    849.5M    126.2M  87% /hdd3/debroot/mnt/card
/dev/loop6              179.0M    179.0M         0 100% /hdd3/debroot/home/zaurus/OpenOffice.org1.1.4
/dev/loop7              179.0M    179.0M         0 100% /hdd3/debroot/home/zaurus/OpenOffice.org1.1.4

Looks like I have extra OpenOffice loop devices that I should remove, right??
..... like /dev/loop6 and 7, right???

Or what should I do ???

If I need to remove loop devices, what's the right way to do that??

Thanks,

Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

DaemonsGR

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Native Gcc Compiler For X/qt
« Reply #14 on: April 16, 2006, 05:47:02 am »
Why do you need this?????????

/dev/loop5              179.0M    179.0M         0 100% /hdd3/debroot/home/zaurus/OpenOffice.org1.1.4
/dev/loop6              179.0M    179.0M         0 100% /hdd3/debroot/home/zaurus/OpenOffice.org1.1.4
/dev/loop7              179.0M    179.0M         0 100% /hdd3/debroot/home/zaurus/OpenOffice.org1.1.4
Tasos Varoudis (Tech)
Tasos Varoudis (Architecture)

Zaurus sl-c3100 + Wlan, Lan ,BT ,etc
NOW running... pdaXrom 1.1.0beta3 + OOo + custom apps/setup + debian +.. not yet installed OpenBSD snapshot

WAS:Cacko 1.23 + X/QT + debian

Home-Net
Debian WIFI Router ,OpenBSD Bridge Firewall ,Win 2k Domain Server , :) Sun Fire v120 , :) Gentoo Main Server: Dual PIII