Difference between revisions of "Gifsicle for Cygwin"
From assela Pathirana
Jump to navigationJump to search
m (Text replace - '<pre>' to ' <pre>') |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{hbox|As of version 1.48 (18:05, 21 September 2007 (JST)), just using: | |||
<pre> | |||
./configure | |||
make | |||
make install | |||
</pre> | |||
works. Now there is no need to use the long set of switches for configure. | |||
}} | |||
''"Gifsicle is a UNIX command-line tool for creating, editing, and getting information about GIF images and animations."'' {{subscript|Source:[http://www.lcdf.org/gifsicle/ gifsicle site].}} | ''"Gifsicle is a UNIX command-line tool for creating, editing, and getting information about GIF images and animations."'' {{subscript|Source:[http://www.lcdf.org/gifsicle/ gifsicle site].}} | ||
Here's how | Here's how I installed it in Cygwin: | ||
#Have a good look at [http://www.lcdf.org/gifsicle/ gifsicle site]. There may be changes. | #Have a good look at [http://www.lcdf.org/gifsicle/ gifsicle site]. There may be changes. | ||
#Download latest source file (e.g. gifsicle-1.44.tar.gz) | #Download latest source file (e.g. gifsicle-1.44.tar.gz) | ||
#cd /usr/local/src #create the directory if it is not there! | #Do the following | ||
<nowiki> | |||
</nowiki> | |||
<pre><nowiki> | |||
cd /usr/local/src #create the directory if it is not there! | |||
tar -xzf gifsicle-1.44.tar.gz | tar -xzf gifsicle-1.44.tar.gz | ||
cd gifsicle-1.44 | cd gifsicle-1.44 | ||
CFLAGS="-O2 -mtune=i686 -Wall -I/usr/local/src/gifsicle-1.44 \ | |||
-I/usr/local/src/gifsicle-1.44/include " ./configure \ | |||
--disable-gifview --disable-gifdiff | |||
make | |||
make install #will install gifsicle command in /usr/local/bin | |||
#man gifsicle will give help. | |||
</nowiki></pre> | |||
[[Category:Computing]][[Category:Unix]] |
Latest revision as of 19:11, 2 October 2009
As of version 1.48 (18:05, 21 September 2007 (JST)), just using:
./configure make make install
works. Now there is no need to use the long set of switches for configure.
"Gifsicle is a UNIX command-line tool for creating, editing, and getting information about GIF images and animations."
Source:gifsicle site.
Here's how I installed it in Cygwin:
- Have a good look at gifsicle site. There may be changes.
- Download latest source file (e.g. gifsicle-1.44.tar.gz)
- Do the following
cd /usr/local/src #create the directory if it is not there! tar -xzf gifsicle-1.44.tar.gz cd gifsicle-1.44 CFLAGS="-O2 -mtune=i686 -Wall -I/usr/local/src/gifsicle-1.44 \ -I/usr/local/src/gifsicle-1.44/include " ./configure \ --disable-gifview --disable-gifdiff make make install #will install gifsicle command in /usr/local/bin #man gifsicle will give help.