I have a program that accesses a device through the serial port and reads the flash memory and displays it in command prompt. It saves the readings to ms access for logging.
I want to use this program on Linux so I figured that if I remove the MS access logging code it would port as serial ports and command prompt should be that same in linux.
What I am looking for is a way to identify any code that will not run on linux. Best case scenario would be a program that takes my source file and highlights the offending lines of code.
failing that what are the best ways of identifying code that needs to be changed to make the program run on linux?
EDIT: I have to use the borland 5.5 compiler and have very limited access to linux machines for testing so need to build the program in a windows environment if that is possible.
Just try compiling the code on Linux and try to look in to the compile errors, Whatever doesn’t belong to Linux won’t compile and you need to port/write similar functionality for Linux port.
Or am I missing something here? This looks fairly straightforward.