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

Re: Building PIC fortran libraries?



Randolph Chung writes:
 > > hmm, it's easy to build a libg2c-pic.a library. So I will do this
 > > instead of building the standard library with pic. Building a shared
 > > library would introduce a incompatibility to other distros.
 > 
 > Matthias,
 > 
 > This might be an issue -- because a generic invocation of g77 won't know
 > library to link in, libg2c.a or libg2c-pic.a .... (i.e. things like pdl
 > will need a debian-specific change from upstream to build on debian)
 > 
 > or am i missing something?

no, but do you know that providing a pic libg2c.a doesn't break
anything? it's freeze time.

 > if you are building separate libraries anyway, is it difficult to just
 > build non-pic libg2c.a and pic libg2c.so ?

Probably not. For the libg2c-pic library, I didn't change anything in
the sources. An argument against a shared libg2c is that we get
incompatible with other distributions.



Reply to: