View Single Post
Old 07-19-2009, 02:15 PM   #106
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
Quote:
Originally Posted by ericshliao View Post
With the help of fltk-dev mail list, I know how to compile single FLTK2 program to support non-English text now. It is: "fltk2-config --compile mycode.cxx". In fact, fltk2-config will call gcc with proper option. But how to use fltk2-config to compile dillo2?
Perfect!

First you have to write down the right compile options. If fltk2-config has a verbose option use it. If no, rename gcc to something else and link in its place a simple echo and run it. After the test, switch back gcc to its normal self.

With the options, you can put them in the CFLAGS and/or LDFLAGS environment variables and try to compile dillo2.

If that doesnt work, you would have to modify the dillo Makefile to include those options in its CFLAGS and LDFLAGS.
Antartica is offline   Reply With Quote