VOGONS


First post, by ykhwong

User metadata
Rank Oldbie
Rank
Oldbie

I tried not to use static libraries any more.
Using static libraries is not a problem for me but
it cannot be a good idea because people may alter them with another.

As for libpng-1.2.8-config, I used an option '--disable-static' for compiling.

./configure --disable-static
make;make install

But it doesn't work at all.
Whenever I compile DOSBox, libpng library is automatically included in dosbox executable file.

What should I do to fix this problem?
(SDL_Sound and some libraries are also in dosbox.exe.)

Reply 1 of 3, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

it's a bit tricky. I had to go to great lengths to get sdl_sound and it's support libs dynamic.

I had to modify the configure and makefiles for that.
it's all in the suffix. (.a or .la)
make dynamic or so makes them sometimes.
Send me an email if you it really doesn't work. Then I'll look on my compile box to see what I changed(but it's in box because I recently moved and didn't unpack it.)

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 3, by ykhwong

User metadata
Rank Oldbie
Rank
Oldbie

I don't understand 'make dynamic or so makes them sometimes'.
The problem is not come from dosbox source. I assume that that's for my mistake(or fault).
Other builds like moe's have exterior libraries like lib_sdlsound-1-0-1.dll (outside).
I followed a guide textfile by Ieremiou. (In fact, his builds have static libraries, too)

Reply 3 of 3, by Farnsworth

User metadata
Rank Newbie
Rank
Newbie

I've got a question about How to remove a static library?
I've read your trying to remove the SDL but I can't seem to find it how to include it... Can you tell me the command you used? thanks