On Thu, 22 Jul 2004, Matthias Saou wrote:

> Eric Deveaud wrote :

> > add
> > -mlongcall to the CFLAGS
> > --relax    to the LDFLAGS
>
> The latest patch Lawrence posted to the list already adds the --relax to
> ld. Unfortunately for me, the -mlongcall options doesn't seem to be known
> to my gcc version...
>
> gcc version 3.2.2 20030217 (Yellow Dog Linux 3.0 3.2.2-2a)

for me with the gcc and the ld I uses it's OK
bulgroz:tmp/frontend > gcc --version
gcc (GCC) 3.3.2 (Debian)

bulgroz:tmp/frontend > ld --version
GNU ld version 2.14.90.0.6 20030820 Debian GNU/Linux

it's OK

and my gcc man page claim this
   -mlongcall
   -mno-longcall
        Default to making all function calls via pointers, so that
        functions which reside further than 64 megabytes (67,108,864
        bytes) from the current location can be called.  This setting
        can be overridden by the "shortcall" function attribute, or by
        "#pragma longcall(0)".

        Some linkers are capable of detecting out-of-range calls and
        generating  glue code on the fly.  On these systems, long calls
        are unnecessary and generate slower code.  As of this writing,
        the AIX linker can do this,  as can the GNU linker for
        PowerPC/64.  It is planned to add this feature to the GNU linker
        for 32-bit PowerPC systems as well.

        In the future, we may cause GCC to ignore all longcall
        specifications when the linker is known to generate glue.


your gcc is too new ;-)
maybee something to try with the pragma.

        Eric
-- 
 Oh que non, je ne suis pas juriste. Mais j'aimerais bien voir la t�te
 du magistrat si Jean Dupont se pointe pour porter plainte avec le print
 d'un post de "Colargol" intitul� "Bozo Le Clown est une raclure"
 -+- GS in  <http://www.le-gnu.net> + Du rififi chez les neuneux -+-


_______________________________________________
Xmame mailing list
[EMAIL PROTECTED]
http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to