This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Making gvim with Make_cyg.mak: /usr/bin/ld: cannot find crt2.o, -lmingw32, -lmoldname, etc.


On Tue, May 31, 2011 at 11:58 AM, Ingram, Clyde <clyde.ingram@hp.com> wrote:
> Hi,
>
> I am trying to compile vim 7.3.206 from source on Cygwin, according to the advice on:
> http://users.skynet.be/antoine.mechelynck/vim/compile.htm

than you should ask him ;-)

>
> but get the following linker failures:
>
> ~/vim/build/vim73/src
> # make ?-f Make_cyg.mak ARCH=i686 ?PERL_VER=512 DYNAMIC_PERL=no GUI=yes
> gcc -O3 -fomit-frame-pointer -freg-struct-return -fno-strength-reduce -DWIN32 -DHAVE_PATHDEF -DFEAT_BIG -DWINVER=0x0400 -D_WIN32_WINNT=0x0400 -DDYNAMIC_GETTEXT -DDYNAMIC_ICONV -DFEAT_MBYTE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -march=i686 -Iproto -s -mno-cygwin -o gvim.exe gobj/blowfish.o gobj/buffer.o gobj/charset.o gobj/diff.o gobj/digraph.o gobj/edit.o gobj/eval.o gobj/ex_cmds.o gobj/ex_cmds2.o gobj/ex_docmd.o gobj/ex_eval.o gobj/ex_getln.o gobj/fileio.o gobj/fold.o gobj/getchar.o gobj/hardcopy.o gobj/hashtab.o gobj/main.o gobj/mark.o gobj/memfile.o gobj/memline.o gobj/menu.o gobj/message.o gobj/misc1.o gobj/misc2.o gobj/move.o gobj/mbyte.o gobj/normal.o gobj/ops.o gobj/option.o gobj/os_win32.o gobj/os_mswin.o gobj/pathdef.o gobj/popupmnu.o gobj/quickfix.o gobj/regexp.o gobj/screen.o gobj/search.o gobj/sha256.o gobj/spell.o gobj/syntax.o gobj/tag.o gobj/term.o gobj/ui.o gobj/undo.o gobj/version.o gobj/vimrc.o gobj/window.o gobj/if_cscope.o gobj/netbeans.o gobj/gui.o gobj/gui_w32.o gobj/gui_beval.o gobj/os_w32exe.o ?-luuid -lole32 -lwsock32 -mwindows -lcomctl32 -lversion
> /usr/bin/ld: cannot find crt2.o: No such file or directory
> /usr/bin/ld: cannot find -lmingw32
> /usr/bin/ld: cannot find -lmoldname
> /usr/bin/ld: cannot find -lmingwex
> /usr/bin/ld: cannot find -lmsvcrt
> /usr/bin/ld: cannot find -lmingw32
> /usr/bin/ld: cannot find -lmingw32
> /usr/bin/ld: cannot find -lmoldname
> /usr/bin/ld: cannot find -lmingwex
> /usr/bin/ld: cannot find -lmsvcrt
> collect2: ld returned 1 exit status
> make: *** [gvim.exe] Error 1

see
http://cygwin.com/ml/cygwin/2011-05/msg00369.html

>
> I'd be grateful for advice on compiling gvim under cygwin to work as a Windows application.

As you are building a standalone version of vim,  you are a bit off topic here.


>
> Regards,
> Clyde

Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]