Re: [gedit-list] Compile gedit with static libraries



Okay, providing -static should do the trick, now that I look at it. Or
does --enable-static add this to LDFLAGS?

Jesse

Op zaterdag 05-04-2008 om 12:39 uur [tijdzone +0200], schreef Jesse van
den Kieboom:
> Op vrijdag 04-04-2008 om 15:06 uur [tijdzone +0200], schreef Andrea
> Gandolfi:
> > Hi, I want to compile Gedit with static libraries, because I want to
> > run it on a PC that do not have needed libraries and I can't install
> > them on it. I try with this command: ./configure
> > --prefix=/home/andrea/gedit --enable-static --disable-shared, then I
> > do make and make install, but when I try the command
> > ldd /home/andrea/gedit/bin/gedit it shows me all the dependencies...
> 
> Isn't --enable-static and --enable-shared just for 'building'
> shared/static libraries, not for actually linking in shared or static
> libraries?
> 
> I think you need to specify all the .a files for the different libraries
> (the static versions of the libs) when linking gedit. Not sure if there
> is a 'good' way to do this, a quick scan of pkg-config/gcc/ld didn't
> give me any pointers on how to do this easily. (pkg-config provides
> --static, but I don't think that does the trick).
> 
> 
-- 
Jesse van den Kieboom

Personal: http://www.icecrew.nl
Professional: http://www.novowork.com



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