chromium-compact-language-detector
chromium-compact-language-detector copied to clipboard
Building for PPC
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 [email protected]
on 5 Jan 2012 at 10:15
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 [email protected]
on 6 Jan 2012 at 1:48
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 [email protected]
on 6 Jan 2012 at 3:03
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 [email protected]
on 6 Jan 2012 at 9:00
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 [email protected]
on 6 Jan 2012 at 10:25
Attachments:
Thanks, I just committed & pushed that patch!
Original comment by [email protected]
on 13 Jan 2012 at 12:00
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 [email protected]
on 14 Jan 2012 at 4:36
Attachments: