[Samba] codepages and cross-compiling

John H Terpstra jht at samba.org
Tue Mar 4 23:23:43 GMT 2003


Hey Doc!

How are you? Long time no hear!

On Tue, 4 Mar 2003, The Doctor What wrote:

> I'm working on a packaging of samba for OpenZaurus
> (http://openzaurus.sf.net). We build on an x86 system cross-compiling
> for the Zaurus systems (an ARM platform).
>
> The part that is giving me trouble is the code pages.
>
> Can I safely compile them with the make_smbcodepage and make_unicodemap
> on the x86 and then use them on the ARM? Or are the platform dependent?

Yes, they are not platform dependant. The codepage info is being used on
SPARC, Alpha, Intel, PPC, S390 and more. We are not aware of any
cross-platform problems.

> Is there anyway I can shrink them? They take up a lot of space on
> such a tiny system.

Not really, at least not without major changes to Samba in how it opens
and reads these files. Have you looked at samba-3.0.0alpha? The codepages
have been replaced with a much cleaner interface as part of the move to
unicode support. Might be worth looking at. Samba-2.2.8 should be out soon
and 3.0 may ship in April.

> Any other hints?

Are you able to run compressed binaries on the Zaurus?

Take care.

Cheers,
John T.
-- 
John H Terpstra
Email: jht at samba.org


More information about the samba mailing list