pombreda / chromium-compact-language-detector

Automatically exported from code.google.com/p/chromium-compact-language-detector
0 stars 0 forks source link

Building for PPC #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hey

Not happy with NetBSD, I am trying to build for darwin PPC :)
I made it compile (and I can send you the patch for build.h) but it seems to 
not work properly, as it misdetects languages.

I think this might be related to being BIG_ENDIAN instead of LITTLE_ENDIAN. Can 
it be? If so, any idea if it is easy to fix?

Cheers
ambs

Original issue reported on code.google.com by hashas...@gmail.com on 5 Jan 2012 at 10:15

GoogleCodeExporter commented 9 years ago
Cool that you are porting to PPC!

Spooky that it then fails the unit test.

But I really don't know offhand where to track down endian problems; it seems 
likely that's an issue?  Though, the library seems to support Solaris which (if 
it's on sparc CPUs)... is big endian, too.  I haven't explored any of this 
though...

Original comment by luc...@mikemccandless.com on 6 Jan 2012 at 1:48

GoogleCodeExporter commented 9 years ago
That was the first thing that come to my head, but it can be something else I 
am not thinking of. I'll dig out a little more.

Original comment by hashas...@gmail.com on 6 Jan 2012 at 3:03

GoogleCodeExporter commented 9 years ago
Hello, It doesn't help much, but here is the output I get from the PPC tester: 
http://www.cpantesters.org/cpan/report/2c528b38-37da-11e1-b453-f9f6ec0326e0

And you can see the output of tests on my latest devel release here:
http://static.cpantesters.org/distro/L/Lingua-Identify-CLD.html#0.02_04

cheers,
ambs

Original comment by hashas...@gmail.com on 6 Jan 2012 at 9:00

GoogleCodeExporter commented 9 years ago
Hey. This is not the port to PPC although it includes some defines in that way. 
But it includes support for DragonFly BSD (it is not very common, but why not).

Cheers.
ambs

Original comment by hashas...@gmail.com on 6 Jan 2012 at 10:25

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, I just committed & pushed that patch! 

Original comment by luc...@mikemccandless.com on 13 Jan 2012 at 12:00

GoogleCodeExporter commented 9 years ago
Hello, again.

Not yet the solution for PPC. A new BSD found (debian/kFreeBSD), and found two 
small typos in the drafongly patch (my bad).

Cheers
ambs

Original comment by hashas...@gmail.com on 14 Jan 2012 at 4:36

Attachments: