jean-frederic clere wrote:
Hi,

I have committed some changes but I am not happy...
Instead using cpp it would be better to use gcc directly:

gcc -Wa,-xarch=v8plus -D_ASM -D__STDC__=0 -c apr_atomic_sparc.S -o
apr_atomic_sparc.lo

what happens when people are using forte's compiler?


I have just to change apr_atomic_sparc.s into apr_atomic_sparc.S. The native solaris as accepts the *.S files.

Any comments?

Cheers

Jean-frederic

"Clere, Jean-Frederic" wrote:

Dale Ghent wrote:

On Wed, 20 Feb 2002, Ian Holsman wrote:

| jean-frederic clere wrote:
| > It works only with the native "as" but not with "gas".
|
| is this a problem on solaris?
| doesn't every box come with 'as' out of the box?

It doesnt install with the basic installation scheme. The SUNWsprot and
SUNWbtool/SUNWbtoox packages need to be installed.

The other caveat is that /usr/ccs/bin isnt in alot of peoples' paths, so
it is overlooked, and they then install the (inferior) GNU binutils.

/dale

I think it is possible to get the file assembled by gnu as... It just need to be
preprocessed by gnu cpp before.
+++
cpp -D_ASM -D__STDC__=0 $*.s > $*.S
as -xarch=v8plus -K PIC -q -o $@ $*.S
+++
Any comments? -Now I will add the need things in configure and makefile -

Cheers

Jean-Frederic







Reply via email to