On Mon, 6 Jan 2003, Andy Polyakov wrote:
> > > The cc on UnixWare 2.x doesn't handle -o asm/xx86-elf.o
> > > It just creates it in the curent directory.
>
> ??? Does it mean that cc driver effectively ignores -o option? Or does
> it mean that make doesn't pass -o option to cc driver when compiling .s
> files? If former, does it apply to .s files only? A.
It seems to ignore the -o option completely when the -c option is present.
This also happens on some NCR platforms. The Mozilla project developed a
cc front end (hcc) shell script to work around the problem. In Samba,
configure tests if -o works with -c and on non working platforms
does a -mv `echo $@ | sed 's%^.*/%%g'` $@
This Makefile.ssl rule seems to work.
...
s.o:
@$(CC) $(CFLAGS) -c $< -o $@
-if test -f `echo $@ | sed 's%^.*/%%g'` ; then \
mv `echo $@ | sed 's%^.*/%%g'` $@ ; fi
...
--
Tim Rice Multitalents (707) 887-1469
[EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]