[EMAIL PROTECTED] <[EMAIL PROTECTED]> writes:

>     [LINK]   src/elinks
> gcc: unrecognized option `-rdynamic'
> make[1]: Leaving directory `/home/webadm/elinks-0.12-20060823/src'

I think you can ignore this error message.  An elinks executable
was still generated, wasn't it?  Make didn't say that the
compiler returned an error.

Pasky added the -rdynamic option to LDFLAGS in commit
450ac0056a84d75a54675a98e7eb898599b9389a:

| Use -rdynamic when available. It makes backtrace work right and
| it will be a must when dynamic .so modules will be introduced
| (not that it would be anytime soon). Looks like zero or only very
| minimal overhead.

If I understand correctly, "dynamic .so modules" refers to
dynamic loading of ELinks-specific plugins that could then call
functions defined in the elinks executable.  This has apparently
not been implemented; at least I cannot find any dlsym() calls.
And if the backtrace doesn't work right, that isn't fatal.

Two things could be done:

1. Fix the check in the configure script, so that it detects if
   the compiler does not support -rdynamic, even if the compiler
   does not return an error.  There is a FIXME about this.

2. On systems that do not support -rdynamic, make the script
   choose some other option that has a similar effect.
   Which linker are you using on Solaris 8?
   Does it support any such option?
   How can the script detect which option should be used?

Attachment: pgpMp90LvGcyg.pgp
Description: PGP signature

_______________________________________________
elinks-users mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-users

Reply via email to