You can look in the man or info pages. The g++ switch there is -l, the "crypt" part is just the library name, so this could be anything depending on which library you want to link into your program. It's basically telling the compiler: "I want to link a library into my program, and it's name is crypt." The linker will look into the usual places for the library called "crypt" and link it into your program if it can find it.
If the code is vanilla ANSI/ISO C or C++ (not very likely), you should be able to port it with little or no changes. If your program uses system-specific stuff like graphics, networking, serial port routines etc., heavily uses the Win32 API and/or MFC you will have some work on your hands.
There's another forum on TT called "Code Reuse and Migration" which might be a better place for this kind of question.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.