> On 25 Aug 2007, at 21:37, eklavyaa wrote:
>
> > Has anyone tried compiling Fltk 1.1.7 using gcc 4.1.2 on openSuSE =20
> > 10.2?

> If you want 64 bit operation on linux, you really need to be using =20
> the weekly snapshots of 1.1.8 from the web-site - 1.1.7 will not be =20
> fixed to support this now - although you can do it yourself, there =20
> are other pertinent enhancements in the 1.1.8 baseline that make it =20
> more useful to you.


Thanks for your reply. I actually wanted to use 1.1.7 compiled in 32-bit since 
I am using some code thats only 32-bit compatible and is also not compatible 
with Fltk2 (though it might be with 1.1.8, haven't checked). And I wanted to do 
this on 64-bit Linux. Thankfully I found the solution


export CC="gcc -m32"
export CXX="g++ -m32"
export LD="ld -m elf64_i386"
export AS="gcc -c -m32"
export LDFLAGS="-L/usr/lib -L/usr/local/lib"
export DSOFLAGS=-m32
./configure

And thats it. I think I was previously missing out on the 32-bit dev libraries 
required for Fltk, which is why it was defaulting to 64-bit libraries and 
screwing up.



_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to