*BSD News Article 93099


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!news.kei.com!news.mathworks.com!news.maxwell.syr.edu!syix.com!news7.crl.com!nnrp1.crl.com!not-for-mail
From: "Jordan K. Hubbard" <jkh@FreeBSD.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Porting to X-Windows App to FreeBSD
Date: Mon, 07 Apr 1997 19:11:46 -0700
Organization: Walnut Creek CDROM
Lines: 17
Message-ID: <3349A962.446B9B3D@FreeBSD.org>
References: <01bc433b$a8ea7380$c95178cb@klondike>
NNTP-Posting-Host: time.cdrom.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 2.2-STABLE i386)
To: Ben Hantz <klondike@pacific.net.sg>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38708

Ben Hantz wrote:
> 
> I've got C source to an application that builds on HP, dUNIX, SGI, AIX, and
> Ultrix commercial unixes...using the built-in commercial C compiler, not
> gcc.  I've tried to compile this code on Linux using gcc, (I'm not a C
> programmer, I'm a C hacker at best), and have run into many problems with
> the calls to the X library, e.g. invalid argument types, invalid number of
> arguments to "Xfunction".

You must have a bogostity in that Linux installation.  There is no
problem with compiling the same X apps under Linux or FreeBSD that I've
encountered so far - they work just like the "commercial unixes" in that
regard.

-- 
- Jordan Hubbard
  FreeBSD core team / Walnut Creek CDROM.