Bruce Momjian wrote:
>These are problematic. Changing $(LD) -r to $(AR) will not work on many
>platforms. In the current source tree. I have changed all $(LD) -r to
>$(LD) $(LDREL), and defined LDREL= -r. The -r can now be overridden in
>Makefile.qnx. You can now define $LD as 'ar' in qnx.
Unfortunately I still cannot use the backend/Makefiles because in
$(LD) $(LDREL) -o SUBSYS.o $(OBJS)
the -o option still disturbes. What I need after replacements is
ar cr SUBSYS.o $(OBJS)
>I have not added any of the #if QNX code. My recommendation is that you
>grab a copy of the current tree via cvs, which will have the changes I
>just made, and see if you can get that to work. You will find that most
>of your stuff will work fine, and that only a few areas now have to be
>modified.
CVS tree got.
Andreas Kardos