What is the cleanest way to do this? I was hoping it would be as simple as passing -fprofile-generate and -fprofile-dir as CFLAGS and LDFLAGS to configure.
Thanks, Scott Ritchie
Copy 'preloader.o' (to prevent wine-preloader being rebuilt) and 'wine-preloader' from a normal build. As noted elsewhere -fprofile-dir won't work (I intend to fix this soon).
Peter