$ otool -L <object file>
$ vmmap <pid>
Thanks to jjgod for tellming me the 2nd tip, I really googled for a while without any result.
$ otool -L <object file>
$ vmmap <pid>
Thanks to jjgod for tellming me the 2nd tip, I really googled for a while without any result.
$ svn diff --diff-cmd gdiff -x -up
gettext(3C) on solaris could fulfill the requirements of your application. You could make following change in configure.in (or configure.ac):-AM_GNU_GETTEXT
+AM_GLIB_GNU_GETTEXT
+LTLIBINTL=
+AC_SUBST(LTLIBINTL)
'intl'), remove it from the 'SUBDIRS' in the top-level Makefile.am. Sometimes, there is a 'm4' directory in the source tree, contains some macro files for checking gnu libraries or GCC compiler options, remove the option '-I m4' from 'ACLOCAL_AMFLAGS' in the top-level Makefile.am.glib-gettextize --force
aclocal $ACLOCAL_FLAGS
autoheader
libtoolize -c --automake
automake --add-missing
autoconf'SUN_LEN' is not defined in Solaris, add the follow definition in your header file:+#if defined(sun) && !defined(SUN_LEN)
+#define SUN_LEN(su) (sizeof(*(su)) - sizeof((su)->sun_path) + strlen((su)->sun_path))
+#endif
And before you run configure script, set the LDFLAGS as following:
export LDFLAGS=-lsocketstruct Foo {int bar; char data[0];};
-char data[0];
+char data[]; //change the 0-sized array to flexible array'union', which requires to change the accessing code. struct point {int x, y, z;};
- struct point x = {x:2, z:3};
+ struct point x = {.x=2, .z=3}; // c99 extension, not supported
// by sunstudio C++ compiler
alloca.h in your source file where you call alloca(3C).This blog copyright 2009 by yongsun