Author Topic: Compiling for pdaxrom for dummies  (Read 2672 times)

sigmaX

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Compiling for pdaxrom for dummies
« on: July 14, 2004, 07:11:53 pm »
Dear Friends,

We all have source to lots of public domain / open source code that we would love to see running in our Zaurus ... Now, as a newbie, I got some questions:

With pdaxrom installed ... any application intended to run in a desktop linux, would anyway need modifications in order to be re-compiled for (say) an SL-C860 ? If so, which changes are the most common ?

Now the second question arises...: which compiling tools can be used ? And WHICH compiling tools do run in the zaurus itself ? (Please if possible, show some usage examples).

WHich brings us to a third question (I assume that quite lame, but please, dont flame me) ...

Is there any compiling tool that should run in a windows / dos environment ?

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

The main idea for me is to evaluate the necessary skills that I should need  in order to be "self served" in software terms. I own an SL-C860 ... and I would love not to depend on third parties to release a zaurus-compiled code, if the source is already there, in public domain / open source.
Enrique

sl-c860 / 1gigCF 40X / 256mbSD / Ambicom WIFI / TRENDnet 10/100 ethernet / SL-5500 CF 40X 32MB

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
Compiling for pdaxrom for dummies
« Reply #1 on: July 14, 2004, 07:24:47 pm »
1. None that I'm aware of, as long as you have the required libs etc.

2. There is a SDK on the pdaXrom site, nothing for on-board compiling yet AFAIK, I'm still looking into this myself.

3. (shudders) The SDK requires Linux.

Hope this helps, YMMV
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

omega

  • Hero Member
  • *****
  • Posts: 626
    • View Profile
    • http://
Compiling for pdaxrom for dummies
« Reply #2 on: July 15, 2004, 06:13:12 am »
It may be possible to use cygwin to compile... (ugh!)  I suggest knoppix (linux of a cd), and you can save changes / install files to a partition on your harddrive...
Gorgeous C860, 256 Sandisk SD, 1Gig Pretec 40x CF, PDAIR leather case & the really cool retractable iPDA USB sync/charge cable. Powered by PDAXROM BETA 1.

My wish - to have a Command & Conquer style game on my Z! (FREECNC!!!) Simcity 2000 would also be great.

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
Compiling for pdaxrom for dummies
« Reply #3 on: July 15, 2004, 10:51:35 am »
Quote
1. None that I'm aware of, as long as you have the required libs etc.

2. There is a SDK on the pdaXrom site, nothing for on-board compiling yet AFAIK, I'm still looking into this myself.

3. (shudders) The SDK requires Linux.

Hope this helps, YMMV
er,

1:  Sometimes things don't like 640x480 -- and could use improvements and/or default settings... but just to compile -- not much.   However, some things like angband want to make an intermediate step/utility -- like lua -- and then execute this "lua" to proceed.... this can be a pain for a cross compiler -- not impossible, but it just means more work.

2:  Uh, sure there is.  YMMV -- http://zaurus.spy.org/feeds/cacko/pdaXrom/misc/zazz/zsdk/

3:  um, run a virtual machine and run linux, and run the compiler in there :->
It *should* be possible to compile on the PC -- but I'm not familiar with anyone
who has gone through the hassle of setting up the environment.

Scott

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
Compiling for pdaxrom for dummies
« Reply #4 on: July 15, 2004, 10:53:07 am »
Quote
It may be possible to use cygwin to compile... (ugh!)  I suggest knoppix (linux of a cd), and you can save changes / install files to a partition on your harddrive...


ya, I know it's not pdaXrom -- but if you do add to this (mem stick???)
you could have both... in one place.

http://www.pellicosystems.com/demolinux/zd...ied=26-APR-2004

Scott

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Compiling for pdaxrom for dummies
« Reply #5 on: July 15, 2004, 11:32:18 am »
Quote
um, run a virtual machine and run linux, and run the compiler in there :->
It *should* be possible to compile on the PC -- but I'm not familiar with anyone
who has gone through the hassle of setting up the environment

Actualy that's the way I have linux set up on my PC

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Compiling for pdaxrom for dummies
« Reply #6 on: July 15, 2004, 12:22:59 pm »
Just out of curiosity since we (OE team) recently have been contacted by the FSF: Does the cacko and pdaxrom teams have a source repository for all programs (and patches) you distribute via GPL on your images? If not, I would encourage you to start one as soon as possible.

The same holds for zaurususergroup.com, btw. You must distribute also the sources to the GPL-ed binaries you offer or you may run into legal problems.
« Last Edit: July 15, 2004, 12:23:17 pm by Mickeyl »
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Compiling for pdaxrom for dummies
« Reply #7 on: July 15, 2004, 01:54:01 pm »
Quote
Just out of curiosity since we (OE team) recently have been contacted by the FSF: Does the cacko and pdaxrom teams have a source repository for all programs (and patches) you distribute via GPL on your images? If not, I would encourage you to start one as soon as possible.

The same holds for zaurususergroup.com, btw. You must distribute also the sources to the GPL-ed binaries you offer or you may run into legal problems.

All of them are freely available on the Net.  At least those used in Cacko ROMs. Do we have to maintain a separate repository?
« Last Edit: July 15, 2004, 01:56:11 pm by maslovsky »

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Compiling for pdaxrom for dummies
« Reply #8 on: July 15, 2004, 02:34:12 pm »
Quote
All of them are freely available on the Net. At least those used in Cacko ROMs. Do we have to maintain a separate repository?
I'm afraid, yes. We have been told that a number of links is not enough since upstream sources can vanish.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Compiling for pdaxrom for dummies
« Reply #9 on: July 15, 2004, 03:04:53 pm »
Quote
Quote
All of them are freely available on the Net. At least those used in Cacko ROMs. Do we have to maintain a separate repository?
I'm afraid, yes. We have been told that a number of links is not enough since upstream sources can vanish.
I wonder why they make life more complicated... Well, offroadgeek, get ready for more storage and internet traffic - now you'll need to have the sources for all the programs you've got on your site...

zautrix

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
    • http://www.pi-sync.net
Compiling for pdaxrom for dummies
« Reply #10 on: July 15, 2004, 03:06:22 pm »
Quote
Quote
Just out of curiosity since we (OE team) recently have been contacted by the FSF: Does the cacko and pdaxrom teams have a source repository for all programs (and patches) you distribute via GPL on your images? If not, I would encourage you to start one as soon as possible.

The same holds for zaurususergroup.com, btw. You must distribute also the sources to the GPL-ed binaries you offer or you may run into legal problems.

All of them are freely available on the Net.  At least those used in Cacko ROMs. Do we have to maintain a separate repository?
It depends. If you modified it, yes.
If not,

http://www.gnu.org/licenses/gpl-faq.html#ReportingViolation

says:

 What does this "written offer valid for any third party" mean? Does that mean everyone in the world can get the source to any GPL'ed program no matter what?
    "Valid for any third party" means that anyone who has the offer is entitled to take you up on it.

    If you commercially distribute binaries not accompanied with source code, the GPL says you must provide a written offer to distribute the source code later. When users non-commercially redistribute the binaries they received from you, they must pass along a copy of this written offer. This means that people who did not get the binaries directly from you can still receive copies of the source code, along with the written offer.

    The reason we require the offer to be valid for any third party is so that people who receive the binaries indirectly in that way can order the source code from you.

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
Compiling for pdaxrom for dummies
« Reply #11 on: July 15, 2004, 04:37:53 pm »
@Scott

I didn't know about the on-board compiler since you have posted a few queries about it yourself, but I may have more joy with that than trying to get one of the other images to work.
« Last Edit: July 15, 2004, 06:42:26 pm by padishah_emperor »
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
Compiling for pdaxrom for dummies
« Reply #12 on: July 16, 2004, 10:26:20 am »
Quote
@Scott

I didn't know about the on-board compiler since you have posted a few queries about it yourself, but I may have more joy with that than trying to get one of the other images to work.


right...  I still have 1.0.1 on my 760 -- waiting for the next release...
I was told that the zsdk wouldn't work with my 1.0.1, etc.  That's
why I was hoping that (all) new pdaXrom releases would include
an onboard sdk, etc.  Again, the sdk doesn't have to be -- and
shouldn't be -- part of the default install... but having a separate
tar.gz that could be extracted to sd ... etc.  Perhaps even a
site where rsync or wget -m could be used to keep up to date.

Scott

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
Compiling for pdaxrom for dummies
« Reply #13 on: July 16, 2004, 10:58:35 am »
Quote
Quote
@Scott

I didn't know about the on-board compiler since you have posted a few queries about it yourself, but I may have more joy with that than trying to get one of the other images to work.


right...  I still have 1.0.1 on my 760 -- waiting for the next release...
I was told that the zsdk wouldn't work with my 1.0.1, etc.  That's
why I was hoping that (all) new pdaXrom releases would include
an onboard sdk, etc.  Again, the sdk doesn't have to be -- and
shouldn't be -- part of the default install... but having a separate
tar.gz that could be extracted to sd ... etc.  Perhaps even a
site where rsync or wget -m could be used to keep up to date.

Scott
Yes, that's a good idea. Perhaps, after the team release the new ROM, then do the CVS/Sourceforge thing, we could petition them (or another group) to do a SDK, I downloaded the one you mentioned but I'm saving that for the weekend.

Thanks again Scott

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