OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: willgan on September 29, 2005, 06:16:14 am

Title: Xchm For Rc11
Post by: willgan on September 29, 2005, 06:16:14 am
I've just build xchm 1.2.0 for RC11

I've attached the files...

You will need wxwidgets libraries..

I've included chmlib 0.36

 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]

Note: I've optimize it with -mcpu=xscale -mtune=xscale.. those with strongarm might have problem with illegal instructions...
Title: Xchm For Rc11
Post by: jh on September 29, 2005, 03:41:00 pm
Very cool.  Thanks!

jason
Title: Xchm For Rc11
Post by: badog on September 29, 2005, 09:54:44 pm
it is very good.
thank you.
Title: Xchm For Rc11
Post by: willgan on September 29, 2005, 10:26:49 pm
no problem...
it is just unfair for Z .. for not able to view CHM files...  
even though opie-reader have basic support for viewing CHM files...
Title: Xchm For Rc11
Post by: willgan on October 01, 2005, 02:08:18 am
Updated the packages..

1. Strip binaries means smaller binaries size
2. Some optimization...
3. Files installed in /usr/local instead of /usr

Note: XFCE4 user might have problem with "Terminal" when executing "xchm".. /usr/bin/xchm not found.. but PATH did point to /usr/local/bin ... strange..
- Aterm have no problem executing it though ... not sure why... any idea?

Please update.. if necessary...
Title: Xchm For Rc11
Post by: wrc4 on May 29, 2006, 02:57:22 am
Quote
I've just build xchm 1.2.0 for RC11

I've attached the files...

You will need wxwidgets libraries..

I've included chmlib 0.36

 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]

Note: I've optimize it with -mcpu=xscale -mtune=xscale.. those with strongarm might have problem with illegal instructions...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=97515\"][{POST_SNAPBACK}][/a][/div]

Hi willgan,

I'm new to cross build and I was trying to build chmlib 0.37 by myself on the 1.1.0beta sdk (3.4.5). After running ./configure I got the make file created (I suppose I have setup the cross build environment correctly). But when I ran make, the compiler complained about missing "Int16" and other type definitions. Like this:

src/chm_lib.c186:2: #error "Please define the sized types for your platform in chm_lib.c"

I looked at the source code and there seemed no proper platforms defined. (None of the __i386__, __sun, __sgi or __ppc__ tests passed). I don't know if this is a configuration problem or the source codes need to be changed. Can you give me some hints on this?
Title: Xchm For Rc11
Post by: desertrat on May 29, 2006, 01:48:12 pm
Quote
I'm new to cross build and I was trying to build chmlib 0.37 by myself on the 1.1.0beta sdk (3.4.5). After running ./configure I got the make file created (I suppose I have setup the cross build environment correctly). But when I ran make, the compiler complained about missing "Int16" and other type definitions. Like this:

src/chm_lib.c186:2: #error "Please define the sized types for your platform in chm_lib.c"

I looked at the source code and there seemed no proper platforms defined. (None of the __i386__, __sun, __sgi or __ppc__ tests passed). I don't know if this is a configuration problem or the source codes need to be changed. Can you give me some hints on this?
I compiled kchmviewer recently and ran into the same problem. You just need to edit chm_lib.c to add support for arm:

Code: [Select]
#elif __i386__ || __sun || __sgi || __ppc__ || __arm__
-- cheers
Title: Xchm For Rc11
Post by: wrc4 on May 31, 2006, 10:11:07 am
Quote
I compiled kchmviewer recently and ran into the same problem. You just need to edit chm_lib.c to add support for arm:

Code: [Select]
#elif __i386__ || __sun || __sgi || __ppc__ || __arm__
-- cheers
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128793\"][{POST_SNAPBACK}][/a][/div]

So __arm__ is the magic word here. Thanks!