Hi all,
I recently installed mingw32-gcc mingw32-gcc-c++ (onto CentOS 6.4 x86_64) and copied the
CONFIG/CONFIG_SITE linux-x86_64.win32-x86-mingw files from base-3.15.0.1 into base-3.14.12.4
and successfully cross built base, asyn, seq and autosave, the only hassle being base including
Winver.h instead of winver.h. Okay so far so good.
But because the host linux-x86_64 architecture is built as well as the target win32-x86-mingw
architecture, when I tried to cross build an IOC, the linux-x86_64 part failed because it
can't find the include file "windows.h".
So my question is this: When I build an IOC, is there any easy way to only do the cross
compilation and skip the host build? (I'm not worried about the base host build - it works ;).
I'm sure I read about this in tech-talk last year but when I searched I didn't find anything.
Regards
Andrew C. Starritt | Principal Controls Engineer | Australian Synchrotron
p: (03) 8540 4164 | f: (03) 8540 4200
[email protected] | www.synchrotron.org.au
800 Blackburn Road, Clayton, Victoria 3168