Dear GHC,
Could you explain me please, how can one prepare the application
executable for various platforms?
I want to prepare the executable on linux-386-unknown machine
to run on other platform, say, Digital UNIX V4.0E ...
I have ghc-4.04, 4.06 installed on linux-i386.
Certain large application program p201 and small example program
Main.hs are both written in Haskell.
p201 is compiled to the object library libP201.a and to
*.hi files.
make Main.o; make run
compiles and links the thing using *.hi and libP201.a,
producing the executable file `run'.
1. Having Main.o, *.hi, libP201.a, can one say
"make `run' for such and such platform from given object files
of Linux
" ?
2. Is it possible: "covert Main.o and all other object files
to such and such platform " ?
3. Is it possible:
"compile the whole library from .hs files preparing .o, .hi
files for such and such platform
",
"link new Main.o ... for such and such platform " ?
I thought, (3) should be possible at least ...
By the way, do the .hi files depend on the platform?
------------------
Sergey Mechveliani
[EMAIL PROTECTED]