I'm currently porting some windows code and trying to make it available for use in Ubuntu. The project was originally compiled in VC++ without any issues. Also I should note that this only needs to work in Ubuntu, but more platform independent ideas are certainly welcome.
Most of the code is easy to port as it is mostly a numerical simulation project with few OS specific parts. There is no UNICODE used in the ported version and there is not going to be any need to support this.
I'd like to know what the best practices are when trying to get this code to compile with GCC, in particular:
What is considered to be the best replacement for: __int64, _tmain and _TCHAR* ?
Thanks!