Author Topic: gcc compliler on Z C7xx  (Read 16143 times)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
gcc compliler on Z C7xx
« Reply #15 on: March 19, 2004, 12:22:57 am »
Hi Gary,

Glad to hear it worked for you!!

 

Trying to get it to work now too...

The look has to do with QT I think...

I think the C860\'s are running v2XX, but need to check...

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/

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
gcc compliler on Z C7xx
« Reply #16 on: March 19, 2004, 08:21:16 am »
If you keep your SD card inserted, then you can edit /etc/fstab to mount dev_img automaticaly. Just edit the line \"path_to_dev_img /home/zaurus/develop cramfs noauto,loop 0 0\" - change noauto to auto.

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
gcc compliler on Z C7xx
« Reply #17 on: March 19, 2004, 09:45:28 am »
Thanks for the advice maslovsky!

Will try that...

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/

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
gcc compliler on Z C7xx
« Reply #18 on: March 19, 2004, 09:49:26 am »
Could anyone tell me whether any of these arm-native GCC compilers have FORTRAN support (there\'ll be an f77 or g77 binary in bin).

Thanks,


Simon
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
gcc compliler on Z C7xx
« Reply #19 on: April 06, 2004, 04:39:59 pm »
Hi again,

Maybe this should be posted in the QT section...but since this thread was already started....

Got the dev_img-1.4 setup and think it\'s working properly. When I type \'gcc\' in Terminal I get \'gcc: No input files\' which what you\'re supposed to see.

However, been trying unsuccessfully to compile a simple QT \'Hello world\' app. Been getting various compiler error messages (parse errors & syntax errors).

Tweaked the \'cpp\' file several times and have substantially reduced the number of error messages.

However, the latest compile attempt gave me the following error messages:

hellow.cpp:1: qapplication.h: No such file or directory
hellow.cpp:2: qwidget.h: No such file or directory
hellow.cpp:3: qpushbutton.h: No such file or directory

Any suggestions on why I\'d get these error messages??

And any suggestions on how to fix?
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/

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
gcc compliler on Z C7xx
« Reply #20 on: April 06, 2004, 05:23:23 pm »
This may make me sound like an idiot but I am just venturing into coding for the first time in 7 years, using my C860.  I\'ve been following this thread, I\'ve setup zgcc and I have run into a real snag, I cannot find \'{\' or \'}\' anywhere on my keyboard!?!?!?

Any help would be appreciated.

I\'m using C860 with Cacko\'s QT ROM 1.20, English-UK keyboard map.
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
gcc compliler on Z C7xx
« Reply #21 on: April 06, 2004, 05:59:52 pm »
Hi,

I\'m using the Sharp ROM...but on my C860 I press

Fn + Shift + \',\' = {

Fn + Shift + \'.\' = }


HTH,

Mark
 8)

Meanwhile, hope someone can advise about my compiler errors... :?
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/

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
gcc compliler on Z C7xx
« Reply #22 on: April 06, 2004, 06:04:37 pm »
Quote
Hi,

I\'m using the Sharp ROM...but on my C860 I press 

Fn + Shift + \',\' = {

Fn + Shift + \'.\' = }


HTH,

Mark
 8) 

Meanwhile, hope someone can advise about my compiler errors... :?

Nice one, works for me.  Now to compile my first QT app..  grrr...

 
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
gcc compliler on Z C7xx
« Reply #23 on: April 06, 2004, 11:24:55 pm »
Hmmm....the more I think back to last July \'03 when I was trying to do this with the dev_img-1.3 version file, I seem to vaguely recall that I added some other lib files last time....

Will see if I can find some notes on this and report  back....if the old DevNet forums were still up there was a great thread on this from last summer...oh well....

 :?

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/

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
gcc compliler on Z C7xx
« Reply #24 on: April 07, 2004, 02:38:50 am »
BTW, dev_img 1.5 is available. Changes:

- Added m4 1.4
- Updated perl to 5.8.0
- Added autoconf 2.59
- Added automake 1.8.3
- Added libtool 1.5.2
- Added automated image setup script

GMan

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • http://
gcc compliler on Z C7xx
« Reply #25 on: April 07, 2004, 07:38:47 am »
Quote
hellow.cpp:1: qapplication.h: No such file or directory
hellow.cpp:2: qwidget.h: No such file or directory
hellow.cpp:3: qpushbutton.h: No such file or directory

Hi ArchiMark,

I compiled some of the tutorials off of TrollTech\'s site by just including:
Code: [Select]
#include

#include

...etc...


I used the gcc options you posted earlier - from what I remember those options helped me get past those errors.

-Gary

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
gcc compliler on Z C7xx
« Reply #26 on: April 07, 2004, 09:22:44 am »
Thanks for providing dev_img-1.5 maslovsky!

GMan,

I\'m using those #include files too!

So surprised at the error messages I\'m getting...

Could you please post or PM me one of the QT code files you got to compile?

I can\'t even get the simple \'Hello World\' file to compile right now... :oops:

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/

GMan

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • http://
gcc compliler on Z C7xx
« Reply #27 on: April 07, 2004, 10:00:19 pm »
I\'ve attached a zip file that contains the first two tutorials off of trolltech\'s site and a simple compile.sh that compiles a single file - just pass in the name of the file and the output file.  This was tested under the dev1.4 image (still need to upgrade to the latest one).

Let me know if it works.

-Gary

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
gcc compliler on Z C7xx
« Reply #28 on: April 08, 2004, 12:05:00 am »
 That did it Gary!!

Thanks a lot for your help!

BTW, compiled using the new dev_img-1.5 file that I installed earlier today....

Mark
Happy C860 Camper
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/

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
gcc compliler on Z C7xx
« Reply #29 on: April 08, 2004, 01:04:56 am »
Quote
BTW, compiled using the new dev_img-1.5 file that I installed earlier today....

Was installation smooth enough? What I was trying to accomplish is to let people just run a script to have everythig set up. Did it work as expected?