<monika.koenig@bonn.de> writes:
> when I compile without Sunstudio, everythings goes well:
> ...
> How can I compile with SunStudio using readline???
IOW, readline is there and gcc finds it, but SunStudio doesn't.
I'd bet a nickel it's in /usr/local/. gcc is customarily configured
to search /usr/local/include and /usr/local/lib automatically, but
vendor cc's usually are not.
regards, tom lane