Read and respond to this message at:
this is a newbie question.
The situation: we are working on our first C++ project. The first task is to
take over code written with MSVC++. Since we used to work on Linux, I translated
the *.mak MSVC++ Makefiles to GNU Makefiles (hopefully right) and now try to
compile the code with g++, using MinGW. At the moment I am stuck, haveing no
idea how to move on with all the 'undefined reference' errors (and I don't really
want to give up; BTW: it compiles fine with MSVC++).
A small example:
gcc -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32
-loleaut32 -luuid -lodbc32 -lodbccp32 -lws2_32 -lnetapi32 -lpdh -lism -mconsole
-mwindows -mcpu=i386 -nodefaultlibs -L"../library/Release" -o Release/ismagt.exe
./agent.o ./hbpoll.o ./http.o ./main.o ./monval.o ./policy.o ./socket.o
):crt1.c: undefined reference to `_CRT_glob'
):crt1.c: undefined reference to `__getmainargs'
):crt1.c: undefined reference to `_CRT_fmode'
I would like to have a better understanding to know if porting is really possible...
so, does anybody have hints for documentation, HowTos, etc. which could be usefull
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: