Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > openwatcom.users.c_cpp > #3518

Re: owcc doesn't understand unix directory separators?

From Dave Yeo <daveryeo@gmail.com>
Newsgroups openwatcom.users.c_cpp
Subject Re: owcc doesn't understand unix directory separators?
Date 2018-04-14 10:23 -0700
Organization OpenWatcom
Message-ID <patdc2$me3$1@www.openwatcom.org> (permalink)
References <pasfmi$b0t$1@www.openwatcom.org>

Show all headers | View raw


On 04/14/18 01:56 AM, Johann 'Myrkraverk' Oskarsson wrote:
> Hi all,
>
> I've been trying to use owcc to port a complex application, specifically
> OpenSSL, to OS/2; yes I know OpenSSL is already ported with the EMX
> runtime.
>
> One of the problems I'm dealing with is adjusting the makefiles and it
> seems easiest to use owcc rather than wcc386 for the compilation steps.
> Yet, owcc doesn't seem to understand / as a directory separator.
>
> An example command line, from the makefile is
>
>   owcc -o tmp/cryptlib.o -c ./crypto/cryptlib.c
>
> where I've removed all the "cruft."  Is it possible to make owcc
> understand / as a directory separator under OS/2?
>
> Assuming I need to build my own owcc for this, what are my first steps?
>
>

I ran into the same problems, kind of depressing as OS/2 mostly accepts 
/ as a directory separator and as far as I know posix requires using /
It's quite possible to use configure to build a lot of projects with 
owcc excepting building DLLs simply by setting up the right environment 
such as
CC=owcc.exe
LD=owcc.exe
AR=emxomfar.exe
RANLIB=echo
Dave

Back to openwatcom.users.c_cpp | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

owcc doesn't understand unix directory separators? Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2018-04-14 16:56 +0800
  Re: owcc doesn't understand unix directory separators? Dave Yeo <daveryeo@gmail.com> - 2018-04-14 10:23 -0700
  Re: owcc doesn't understand unix directory separators? Hans-Bernhard Bröker <broeker@physik.rwth-aachen.de> - 2018-04-14 20:08 +0200
    Re: owcc doesn't understand unix directory separators? Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2018-04-16 20:35 +0800
      Re: owcc doesn't understand unix directory separators? Frank Beythien <fbeythien@gmx.de> - 2018-04-16 15:12 +0200
  Re: owcc doesn't understand unix directory separators? Paul S. Person <psperson@ix.netscom.com.invalid> - 2018-04-15 10:07 -0700
    Re: owcc doesn't understand unix directory separators? Frank Beythien <fbeythien@gmx.de> - 2018-04-15 19:28 +0200

csiph-web