This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: to add underscore or not to add underscore?


> From: Fritz Heinrichmeyer <fritz.heinrichmeyer@FernUni-Hagen.de>
> Date: 28 Nov 1997 10:29:27 +0100
> 
> under linux-elf, DLSYM_ADDS_USCORE is not defined, which is CORRECT!
> 
> But is not correct to add underscore, because linux-elf has does not use
> an extra underscore at all!

I see what you're saying, and I see why the code is doing this
incorrectly.  The test should really be `#if defined(USCORE) &&
!defined(DLSYM_ADDS_USCORE)' to decide whether an underscore should be
added.  I'm testing such a change now and will commit it if it appears
to work.

I think Marius's suggestion was right: the tests would be clearer if
they said "DLSYM_NEEDS_USCORE" rather than "DLSYM_ADDS_USCORE".

Thanks for explaining the problem!

love, T.