[ANNOUNCEMENT] Updated: git-1.5.6-1

Reini Urban rurban@x-ray.at
Fri Jun 20 18:39:00 GMT 2008


> A new release of git, 1.5.6-1, has been uploaded, leaving 1.5.5.1-1 as the
> previous version.

I'm a bit annoyed about the waste of space and the lack of a cyggit.dll
Now they use a static libgit.a and hardlink the exe's, which does not work
as expected for us.
Well, we could change the Makefile to use softlinks for the exe's.

Attached is my first attempt to use a dll.
Maybe anybody finds the one remaining error.
Some attribute causes the linker to refuse to build the dll and wants
to build an exe.
I could also fake a dummy main(), but this would be cheating.

Eric, should I post this to some git list also, or just when I found the error?

$ make V=1
rm -f git-dll.o && cc -DDLL -DGIT_VERSION='"1.5.6"' \
                -O2 -pipe   -DNO_D_TYPE_IN_DIRENT
-DNO_FAST_WORKING_DIRECTORY -DNO_IPV6 -DOLD_ICONV -DSHA1_HEADER='<open
ssl/sha.h>' -DNO_STRCASESTR -o git-dll.o -c git.c
rm -f cyggit.dll && cc -Wl,-shared -Wl,--enable-auto-import
-Wl,--export-all-symbols \
                -o cyggit.dll   git-dll.o alias.o alloc.o archive.o
archive-tar.o archive-zip.o attr.o base85.o blob.o b
ranch.o bundle.o cache-tree.o color.o combine-diff.o commit.o config.o
connect.o convert.o copy.o csum-file.o ctype.o da
te.o decorate.o diffcore-break.o diffcore-delta.o diffcore-order.o
diffcore-pickaxe.o diffcore-rename.o diff-delta.o dif
f-no-index.o diff-lib.o diff.o dir.o entry.o environment.o exec_cmd.o
fsck.o graph.o grep.o hash.o help.o ident.o interp
olate.o list-objects.o ll-merge.o lockfile.o log-tree.o mailmap.o
match-trees.o merge-file.o name-hash.o object.o pack-c
heck.o pack-revindex.o pack-write.o pager.o parse-options.o
patch-delta.o patch-ids.o path-list.o path.o pkt-line.o pret
ty.o progress.o quote.o reachable.o read-cache.o reflog-walk.o refs.o
remote.o revision.o run-command.o server-info.o se
tup.o sha1_file.o sha1-lookup.o sha1_name.o shallow.o sideband.o
strbuf.o symlinks.o tag.o trace.o transport.o tree-diff
.o tree.o tree-walk.o unpack-trees.o usage.o utf8.o walker.o
write_or_die.o ws.o wt-status.o xdiff-interface.o http.o ht
tp-walker.o compat/strcasestr.o builtin-fetch-pack.o builtin-send-pack.o \
                xdiff/lib.a -lcurl -lz -liconv -lcrypto -lcurl -lexpat
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o):(.text+0xab):
undefined reference to `_WinMain@16'
collect2: ld returned 1 exit status
-- 
Reini Urban
http://phpwiki.org/ http://murbreak.at/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: git-1.5.6-2.src.patch
Type: text/x-diff
Size: 5825 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20080620/d2f8aecd/attachment.bin>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list