On Sat, 14 Dec 2002, Andy Polyakov wrote:

> > My solution was to add support for assembly modules.
> 
> Why do you want to add more rules? Well, I actually fail to understand

To fix the platforms I have access to without breaking those I don't
have access to. :-)

> why can't we have a unified rule? I mean something like this:
> 
> asm/dx86-elf.o: asm/dx86unix.cpp
>       $(CPP) -DELF asm/sx86unix.cpp | \
>               sed -e 's/\. /./g' -e 's/@ /@/'  -e 's/ :/:/' -e 's/^#.*//' \
>               > /tmp/dx86$$$$.s && \
>       as -o asm/dx86-elf.o /tmp/dx86$$$$.s; \
>       rm -f /tmp/dx86$$$$.s
> 

Something like that should work fine for UnixWare and Solaris x86
Unfortunatly it's not enough for SCO OpenServer.
OpenServer needs "-b elf" passwd to as

> which would compensate for all observed stupid things. And even for
> Solaris... The only thing that would justify a new rule should be
> another -D to be passed to $(CPP). BTW, could you comment on where are
> those extra spaces you have to get rid of coming from? Is it $(CPP) in
> question which adds them?

Yes, $(CPP) adds the spaces.

> 
[snip]

-- 
Tim Rice                                Multitalents    (707) 887-1469
[EMAIL PROTECTED]


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to