Chet,
Can you look this one over for me.. I'm really busy
- Bob
-----Forwarded Message-----
From: H. Steuer <st...@un...>
To: Bob Doan <bd...@si...>
Subject: Re: [Rlib-users] rlib on OpenBSD
Date: Sat, 03 Jan 2004 03:06:56 +0100
Hi Bob,
thanks for your quick answer.
The iconv thing was just a tiny issue, as the prototype expects a const char** as its second argument.
i attached 2 diffs for your project which may be interresting to you.
the api.c diff should be important for portability.
e.g. solaris and msvc++ do #define stdout (&_iob[1]), so you can
do something like stdout=...
but BSD derivatives define stdout another way:
extern FILE *__stdinp, *__stdoutp, *__stderrp;
#define stdout (__stdoutp)
which makes stdout an improper l-value for such an assignement.
the way i've rewritten it should work well on all platforms.
i just finished the patches and checked the lib compiles so far, will check if it produces any acceptable results tomorrow (its 3:02am now, time for some ZzZ).
anyways i wanted to send the patches for review.
regards,
heri
On Fri, 02 Jan 2004 14:48:54 -0500
Bob Doan <bd...@si...> wrote:
> I think we had someone get it working on freebsd
>
> RLIB cvs is much more cross platform friendly (uses gmodule stuff.. so
> no implicit -dl)
>
> What problems are you having w/ iconv?? can you send a patch or
> somthing?
>
> - Bob
>
> On Fri, 2004-01-02 at 13:47, H. Steuer wrote:
> > Hi guys,
> >
> > im trying to compile rlib on OpenBSD.
> > After removing -ldl, fixing a few lines of code due to incompatible pointer types (e.g. to iconv()) i was stuck when it came to some libtool errors. i'm not into libtool stuff and therefore was not able to debug it further.
> > did one of you guys ever compile rlib on a *BSD machine?
> >
> > kind regards,
> > heri
> >
>
|