Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > openwatcom.users.c_cpp > #3526
| From | Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> |
|---|---|
| Newsgroups | openwatcom.users.c_cpp |
| Subject | Building static libraries with wlink or owcc? |
| Date | 2018-04-21 12:57 +0800 |
| Organization | OpenWatcom |
| Message-ID | <pbeg9f$8ep$1@www.openwatcom.org> (permalink) |
Hi all,
I've gotten to the stage in my OpenSSL port where the the makefile is
trying to build the first library.
The typical generated make file rule is something like
$(O_CRYPTO): $(CRYPTOOBJ)
$(RM) $(O_CRYPTO)
$(MKLIB) file $(O_CRYPTO) $(CRYPTOOBJ)
$(RANLIB) $(O_CRYPTO)
where I have added the "file" directive in the make file generator.
However, if I just add the "name" directive for Wlink before the
objects, how do I make it comma separated, as I understand the Wlink
manual to require?
Note: I can easily remove the $(RM) and $(RANLIB) lines, by editing the
generator; a perl script. I am not so sure I can easily make it build
a comma separated list directly in the make file since it just generates
variable expansions, like you see above.
Is this simpler to do with owcc? Right now I'm attempting to build a
static library, and not a DLL on OS/2. Can I create .LIB files with
owcc?
Does Wmake have any magic I can use to convert the space separated
objects into a comma separated list?
Right now I'm trying to get a feel for my options, about how I can
do this with OpenWatcom, without requiring external tools. I have
not seen anything immediately obvious to use, in the Wmake, Wlink
and owcc manuals.
--
Johann | email: invalid -> com | www.myrkraverk.com/blog/
I'm not from the Internet, I just work there. | twitter: @myrkraverk
Back to openwatcom.users.c_cpp | Previous | Next — Next in thread | Find similar
Building static libraries with wlink or owcc? Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2018-04-21 12:57 +0800
Re: Building static libraries with wlink or owcc? Frank Beythien <fbeythien@gmx.de> - 2018-04-21 09:46 +0200
Re: Building static libraries with wlink or owcc? Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2018-04-21 20:46 +0800
Re: Building static libraries with wlink or owcc? Frank Beythien <fbeythien@gmx.de> - 2018-04-21 15:33 +0200
Re: Building static libraries with wlink or owcc? "Mat Nieuwenhoven" <mnieuw@dontincludethis.zap.a2000.nl> - 2018-04-24 19:33 +0200
Re: Building static libraries with wlink or owcc? Hans-Bernhard Bröker <broeker@physik.rwth-aachen.de> - 2018-04-21 14:16 +0200
Re: Building static libraries with wlink or owcc? Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2018-04-21 20:50 +0800
Re: Building static libraries with wlink or owcc? Dave Yeo <daveryeo@gmail.com> - 2018-04-21 10:43 -0700
Re: Building static libraries with wlink or owcc? Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2018-04-22 18:41 +0800
csiph-web