RE: Summary: Help needed in compiling vim 6.3 with gcc 3.4.1 on Solaris 8

From: Hegedus, Matthew S (matthew.s.hegedus@lmco.com)
Date: Fri Sep 17 2004 - 12:17:10 EDT


I saw Kent Perrier's post about this issue. He states that setting
environment vars will solve this problem:

>>I needed to change my CFLAGS and LDFLAGS to enable 64 bit:
>>CC=gcc
>>CFLAGS="-O2 -m64 -I/usr/local/include"
>>LDFLAG="-s -m64 -R/usr/local/lib -L/usr/local/lib"
>>Now its compiled fine. Thanks!

I tried this myself, but I still got the same error:

   gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MOTIF -I/usr/dt/include
-O2 -m64
              -I/usr/local/include -o objects/buffer.o buffer.c
   In file included from buffer.c:29:
   Vim.h:40: error: parse error before ':' token
   In file included from os_unix.h:21,
                        from vim.h:195,
                        from buffer.c:29:
   /usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/stdio.h:241:
   error: parse error before "__gnu_va_list"
   make[1]: *** [objects/buffer.o] Error 1

Does anyone have any more hints or ideas?
Thanks,
Matthew
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:28 EDT