Replies: 6 comments 6 replies
-
If you install https://github.com/open-watcom as
Well, you could use LIB and LINK I guess; LIBW and LINKW comes with some hassle. There have however been a lot of changes there lately. |
Beta Was this translation helpful? Give feedback.
-
Ok - i installed watcom to D:\watcom. There is no project file (.wpj), so i should make use of the associated "makefile". I found "wmake" in binnt64, so i tried "wmake ...\makefile" inside a command prompt - to no avail. I get "Target (D:\linkw\master\libw\makefile) not mentioned in any makefile" and i have next to no experience using make utilities. What am i doing wrong? |
Beta Was this translation helpful? Give feedback.
-
Note that there is a /NODEC option added to LIBW for the .DEF input.
The input is half-decorated (symbol@4) where an underscore is added (_symbol@4).
Here the .DEF input is non-decorated names (symbol). The linker will use the decoration from the object files to produce the import library for the DLL. LINKW (which spawns LIBW) use the option /NODEC for this purpose. |
Beta Was this translation helpful? Give feedback.
-
Alas, i keep getting this:
Please, could you give more and more precise instructions how to do it, seems i don´t get it. |
Beta Was this translation helpful? Give feedback.
-
Ok, i browse to the LIB directory (D:\linkw\master\lib), i can see two items in Explorer: "makefile" and "src" (which is the folder containing the sources), now i select makefile and hit "enter" I get a well known dialog ("how should this file be opened"), i browse to D:\ASMC\bin and choose "make.exe" - the screen flickers a bit - nothing else happens. I think this requires some kind of setup like setting environment variables, running a batch beforehand or something like that ... Sorry for being an absolute noob, i never have used watcom or (watcom/asmc) makefiles before, all of this is an absolute mistery to me |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help, i finally got it working. My misconception was: i should have used Doszip Commander and i should have made a full installation of watcom |
Beta Was this translation helpful? Give feedback.
-
Hi nidud,
how would i (re-)compile "linkw" and "libw" from the sources you supply - seems i need open watcom? I would prefer VS, any chance to do that?
JK
Beta Was this translation helpful? Give feedback.
All reactions