Re: crosscompiling AbiWord

Shaw Terwilliger (sterwill@postman.abisource.com)
Sat, 8 May 1999 02:34:03 -0500


On Sat, May 08, 1999 at 06:50:27AM +0200, albi wrote:
> How easy or difficult is it to crosscompile AbiWord on a Linux-box ?
>
> A friend of mine is a Linux-newbie, is interested in AbiWord, but hasn't got
> gtk installed properly yet. He does however dual-boot into Windows98.

I tried for 3 solid nights to build a cross compiler hosted on
Intel Linux, targetted for PA-RISC 1.0 HP-UX. I'm usually pretty
good at figuring these things out, but I got 99% done about twenty
times, and just gave up. I tried again a few days later and got
all the way to where the cross-assembler complained about special HPPA
pseudo-opcodes. Maybe it was just my source of documentation, but believe
me when I say building GTK is much, much easier than building a
cross-compiler. :) Remember, not only do you have to build a
cross compiler, but also a C library (Cygnus newlib or GNU libc),
the whole GNU binutils (assembler, strip, strings, ld), etc.

There are developer releases of GTK in RPM and Debian package
format which will work just fine with our source base. You could
also just do (in bash):

export XCFLAGS="-static"
make

...and get a resultant static binary you could pass to your friend.
He'll need the fonts too, but that's just an install shell script
he has to run and press enter twice for.

> Or is there someone on the list who can provide a windows-binary ?

We'll soon have Windows (and all other platform) binaries for
our 0.7.0 release. For the Unix binaries, we'll likely package
them in every format we can get a hold on (.rpm, .deb, .slp, and
a .tar.gz).

-- 
Shaw Terwilliger


This archive was generated by hypermail 1.03b2.