Re: [Dev-C++] implementation .o procedure
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Carlos d. M. <cg...@wo...> - 2002-10-14 11:18:00
|
"Linker options/Optional Libs or Object Files" = Just see the label over the edit fields of the project otpions You put it in your path this way: Windows NT, 2000, XP: In explorer go to control panel, double click in system. Go to advanced tab, press environment variables button, select path and press edit, add the Dev-C++ bin directory, a semicolon is the separator between folders. After do that you have to reboot. Windows 9x: Open command prompt and type PATH=%PATH%;devbinaryfolder or PATH =devbinaryfolder;%PATH% You asked: do I have to link the implementation to userCode.cpp in order to create the .o file? For have myClass.o you don't need at all userCode.cpp. And for having userCode.o, it shouldn't, since you make the exe just by linking and you pass the myClass.o file in linker just for link it when creating the exe, and the userCode.o file would have undefined references which will have to be solved during linking. |