[Radiance-dev] Compile Problems with Interix
Marcus Jacobs
marcdevon at hotmail.com
Fri Feb 10 22:21:38 CET 2006
Thanks for the info Andy. I did do a keyword search on 'Interix' and it
seemed like Greg and yourself took your correspondence out of this forum so
I am unsure of what became of this. Hey, at least you had some success in
getting your code to compile. I am not even there yet.
I do not know if I want to start commenting out statements within the source
code. This is like having a rattling bolt in your car engine or suspension
and just haphazardly removing it in order to alleviate the situation without
knowing if you removed a critical part. I do want a stable, robust solution
to this problem (if it exists at all). I asked a question some time ago
about compiling programs on SFU on Interop System's forum. One of the gurus
there said "Read through the FAQ's about porting stuff; what options to
define ("-D") etc. It makes a big difference, particularly WRT to header
files. Interix aims to be SUS compliant." The section in the FAQ that he
was alluding to I believe is this:
Using GNUs configure
When using GNU's configure script to configure a build environment for an
application it is suggested that you set the following environment variables
before running configure.
CFLAGS="-D_ALL_SOURCE -D_REENTRANT"
CPPFLAGS="-D_ALL_SOURCE -D_REENTRANT -I/usr/local/include"
LDFLAGS="-L/usr/local/lib"
If GNU's configure complains that the type of system is not recognized then
you need to update the file "config.guess." Some applications have multiple
copies of "config.guess" so be sure to find all of them. An updated
"config.guess" can be downloaded from
"ftp://ftp.interopsystems.com/pub/config.guess". You may also need to update
your LD_LIBRARY_FLAGS if you are using shared object libraries (DSOs), but
this is likely already done for you if you have installed a /Tools packaged
library.
I don't know if this will help but I guess its worth a shot. Can anyone
provide some insight as to what all of this means?
I assume that you compiled Radiance using gcc. I am doing the same although
I may try to port it to Windows using Microsofts C compiler later in the
future (if it is at all possible). There is also a beta version of gcc 4.0
available for Interix on Interop System's FTP site. This is something worth
looking in to but I do not believe that this will help my situation. I think
the problems that I am having are related SFU's standard libraries.
Before giving up on this all together, I really would like to evaluate
Interix as a Windows solution for Radiance. Since it does support a NFS, I
may be able to finally utilize multiple processors via rpiece. Thanks for
your suggestions.
Marcus
More information about the Radiance-dev
mailing list