Hallo Patrick,

Du schriebst am Thu, 09 Aug 2012 08:21:43 -0400:

[cross compiling]
> If anyone is doing that, could you send me a description of what needs 
> to be done to set up the mseide for that?

Apart from having set up the source such that it compiles properly on both
systems, I gather?

Then, do the following in "Project/Options":
 - under "Make": define a new make option "-T${OS}"
 - under "Macros": create the following entries
   Group 1 2   Name     Value
           X   TARGET   i386-win32
           X   EXEEXT   .exe
           X   OS       win32
         X     TARGET   i386-linux
         X     EXEEXT   <empty>
         X     OS       linux
Save these changes by clicking on "OK".

Now you can compile for linux by activating macro group "1" and for Windows
by activating macro group "2".
You should _always_ execute a "Build" after changing systems, though,
because otherwise you might not get everything recompiled properly and your
program might not run.
If you use system specific code, you'll have to select (or dis/enable) it
"as usual" using conditional defines, of course.

One specialty to watch out for are Martin's path specifications, though.
They definitely don't work with wine (for testing Windows programs under
linux), and they don't work fully on any Windows version before XP, it
seems. At least I couldn't get _any_ file loaded under W2000 in a
VirtualBox VM. I wasn't yet able to test it on my laptop under WXP, though.
(There was some dispute about that notation recently.)

-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
-----------------------------------------------------------
Mit freundlichen Grüßen, S. Schicktanz
-----------------------------------------------------------


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to