OS/2, eCS & ArcaOS - Technical > Programming

Software ports - the state of my art until now

<< < (3/3)

fusion:
if you can get it to build completely with another machine, i had some success replacing the 'cc' binary with a bash script that logged the parameters cmake called cc with and then called cc itself.

then you could probably play back the log semi-manually in sections on the os/2 machine (for example it builds a utility that then generates a bunch of C files based on a cpu specification, which Dave pointed out) .. search and replace to change directories and all that.

90% of cmake seems to be an incredibly convoluted method of making sure your system has all sorts of stuff.. but you can totally just adjust the config.h you managed to generate with another machine after the fact..

make yourself a little makefile.os2

*shrug*

Navigation

[0] Message Index

[*] Previous page

Go to full version