[Bf-committers] Scons, Blender and Shared Libraries

Nathan Letwory jesterking at letwory.net
Fri Sep 19 21:12:50 CEST 2008


So you want to use extra flags during *final* linking, right? I mean,
those look like flags for a final binary.

On Fri, Sep 19, 2008 at 9:42 PM, Marcelo Coraça de Freitas
<mfreitas at ydeasolutions.com.br> wrote:
>
>
> well, I need the ldflags:
> ldflags = [ '-lXi',
>     '-lXext',
>     '-lX11',
>     '-lm',
>     '-lXt',
>     '-L' + env['BF_MOZILLA_LIB'],
>     '-lxpcom_core'];
>
>
> the cflags are ok. Only the linking is going wrong.
>
>
> maybe I'll change that function.
>
>
> regards
>
>
>
> Em Sex, 2008-09-19 às 21:36 +0300, Nathan Letwory escreveu:
>
> Actually, you can already give compile flags - I don't readily see
> where link flags come in play at this point. Can you give an example?
>
> /Nathan
>
> On Fri, Sep 19, 2008 at 9:31 PM, Nathan Letwory <jesterking at letwory.net>
> wrote:
>> Would it be enough to have a list of arguments you need to add which
>> can be given to BlenderLib() ? It's easy to add.
>>
>> /Nathan
>>
>> On Fri, Sep 19, 2008 at 9:22 PM, Marcelo Coraça de Freitas
>> <mfreitas at ydeasolutions.com.br> wrote:
>>> Hello there,
>>>
>>>     I'm trying to set the scons build environment to build the plugin
>>> code.
>>> It's compiling but I need to pass some arguments to the linker.
>>>
>>>     As the libraries in blender use the env.BlenderLib() function and I
>>> can't pass linker arguments to this I'm kinda lost. What should I use
>>> then?
>>>
>>>
>>> Regards,
>>>
>>>
>>>
>>> Marcelo Coraça de Freitas
>>> Gerente de TI
>>>
>>> Ydea Desenvolvimento de Software LTDA.
>>> Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista
>>> CEP.:04734-004 - São Paulo - SP
>>> Tel.: 55-11-5523-0333
>>> _______________________________________________
>>> Bf-committers mailing list
>>> Bf-committers at blender.org
>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>
>>>
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
>
> Marcelo Coraça de Freitas
> Gerente de TI
>
> Ydea Desenvolvimento de Software LTDA.
> Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista
> CEP.:04734-004 - São Paulo - SP
> Tel.: 55-11-5523-0333


More information about the Bf-committers mailing list