[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gtkbidi rpms



> > * make libfribidi a shared library. I just couldn't figure how to > set 
>this in the configure script.
>
>I don't think it's possible from configure.

I actually think it can be done. Just have a look at one of the many
GNOME source rpms, or even the glibc source rpm.

>Just do:
>gcc allobjectfiles.o ... -o libfribidi.so --shared
>(that should work, methinks)

I think you should also use -fPIC, and then your makefile has to worry
about the "so" name, after compilation.

> > * Write an autoconf script for gtkbiditext
>Ouch, what for? I manually removed it and rewrote as
>a simple Makefile. Is there a real need for a configure
>script?

Because, it is much easier to hack around in a source rpm that has a
makefile generated when it is built, rather than unpack the sources
that come with the source rpm, hack the makefile, and then re-pack
it. Why hack with the makefile in the first place, you ask? Well there
are several reasons. Personally, I prefer compiling the rpms with special 
optimizaitons for the specific platform I am running the binary on, to get 
speed improvments.

hth,
Yosi

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il