Crosscompiling status...

Anoq of the Sun anoq@HardcoreProcessing.com
Sun, 30 Sep 2001 12:37:44 +0200


The current status on crosscompiling to Win32:
I've tried calling the native gcc in the lookup-constants
phase, but when I set the D_WIN32 flag - of course the
include files expected by the compiler are different.
And the proper include files does not exist on the host
system.

So, now I will try another approach: Add a compiler
option to generate the lookup-constants program.
This should be cross-compiled as for a "usual" compile.
Then go execute it on Win32. Add an option to
read the results of the lookup-constants program
instead of generating one - and give it the file
produced on Win32.

It's more tedious - but I think it will work much better...

If you have any preferences for the names of the options,
or an alternative approach - let me know :)


Cheers
-- 
http://www.HardcoreProcessing.com