On 03/05/2018 11:53 AM, August Guang wrote:
I got approval from the SeqAn (www.seqan.de) team to repackage their
headers for easy use in a few other R packages I am writing. This package
has been called RSeqAn. (https://github.com/compbiocore/RSeqAn)

However, SeqAn doesn't have support for mingw although it does for other
Windows compilers. I am not familiar with compiler-specific code but have
been trying to address various issues with building RSeqAn on Windows. (see
https://github.com/Bioconductor/Contributions/issues/652) So far I have
added mman-win32 to replace sys/mman.h and changed some enum values to not
use posix_madvise.

I am getting way out of my depth. The current error I am trying to tackle
is the fact that getuid, geteuid, getgid and getegid are Unix-only. It
appears I can either write my own macros for them (
https://stackoverflow.com/questions/1594746/win32-equivalent-of-getuid) or
install LibGW32 for them (
http://gnuwin32.sourceforge.net/packages/libgw32c.htm). Is there an option
that would be better and can I get some advice on how I would implement it?
Or is there a way to test R on Windows with a different compiler?

sounds ambitious. I don't have much to offer, other than 'using a different compiler' is not an option, and to suggest going for minimal changes (superficial macros rather than whole libraries).



        [[alternative HTML version deleted]]

Bioc-devel@r-project.org mailing list

This email message may contain legally privileged and/or...{{dropped:2}}

Bioc-devel@r-project.org mailing list

Reply via email to