*BSD News Article 93011


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!arclight.uoregon.edu!newsserver.pacific.net.sg!not-for-mail
From: "Ben Hantz" <klondike@pacific.net.sg>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Porting to X-Windows App to FreeBSD
Date: 7 Apr 1997 10:11:32 GMT
Organization: Subscriber, Pacific Internet, Singapore
Lines: 16
Message-ID: <01bc433b$a8ea7380$c95178cb@klondike>
NNTP-Posting-Host: max81ppp201.pacific.net.sg
X-Newsreader: Microsoft Internet News 4.70.1155
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38658


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".

Rather than "FIX" the code, is this a "Linux" quirk or would one believe
that this would be a problem with gcc/FreeBSD too. 

Note, there is NO problem (NONE!) on the other commerical unixes and yes,
I'm using the same X11R6 release, etc.

Thanks for your opinions.
   Ben