In message <[EMAIL PROTECTED]>
          Stefan Agner <[EMAIL PROTECTED]> wrote:

> I try to build Mapnik on Solaris 10. I had several problems which I
> could solve (mainly with Boost). I try to build Mapnik with GNU Compiler
> and Linker. But now Im stuck with this error:
> 
> /usr/sfw/bin/gld: unrecognized option '-Wl,-rpath-link,.'

You shouldn't be invoking the linker directly, you should be invoking
gcc and letting it invoke the linker. The -Wl,... option is a gcc option
that tells it to pass what comes after the comma to the linker.

> Any idea? There isnt an option -W for gld...
> 
> I changed this Envirments in SConstruct:
>    env['LINK'] = '/usr/sfw/bin/gld'
>    env['CC'] = '/usr/local/bin/gcc'
>    env['CXX'] =  '/usr/local/bin/g++'
>    env.Append(CXXFLAGS = '-mcpu=v9')
> 
> Thanks for any suggestions...

I think you want this:

   env['LINK'] = '/usr/local/bin/gcc'

Tom

-- 
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to