I got it to work I think.
The trick is to use cygwin. I did not test it yet but here's the procedure.
1- install cygwin and all the base and devel modules. I know we don't
need fortran, but bear with me, it's easier than picking and choosing.
2- load a cygwin shell and make lttv with --with-jni-interfaces and
--with-lttv-gui=no
3- do a make install.
4- download eclipse and subclipse
5- download the svn connector for subclipse
6- copy your cygwin usr/local/lib/liblttv*.* content to your favorite
usb key, it is a library that works in windows
7- download tmf from the svn nightly build
8- change the lines in the source in jniTraceV_2_x replace
private static final String LIBRARY_NAME = "liblttvtraceread-2.x.so";
//$NON-NLS-1$
with
private static final String LIBRARY_NAME =
"/yourdirectory/liblttvtraceread.la"; //$NON-NLS-1$
9- close the control flow view, it does not appear to work in win32, for
now.
Hope this helps.
On 10-12-02 10:50 AM, Matthew Khouzam wrote:
Hi, a small update:
These are the steps I got so far to install lttv (liblttvtraceread) in
windows.
Note: I am working in windows 7 32 bit pro edition (I think, the one
that ships with lenovo t510s)
1- install mingw32 from mingw.org
2- download glib, glib-dev , gtk+, gtk+-dev from gtk.org (win32 flavor)
3- unzip all of the files you downloaded in 2 into your mingw directory
4- patch your ltt/tracefile.c to support mmap in win32.
5- ?????
6- profit!
Jokes asside, I passed the first hurdle, getting an environment to work
in windows, now it's just code, and I should have something interesting
soon enough.
Until then, how is using a vm with linux going?
Matthew
On 10-11-22 06:02 AM, Radhika Chowdary wrote:
Hi
I want to build LTTV using mingw. I couldnt find any kind of
documentation regarding this. is there any patch available for lttng
to build under mingw. can anyone give me starting point
Thanks
Radhika
_______________________________________________
ltt-dev mailing list
[email protected]
http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
_______________________________________________
ltt-dev mailing list
[email protected]
http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev