<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head>
<body>
<p style="margin: 0pt;">
<span>
<span></span>
</span>
</p>
<p style="margin: 0px; "></p>
<div style="margin: 5px 0px;">
<br/>
Antonio Fortuny <a.fortuny@sitasoftware.lu> hat am 6. Dezember 2011 um 14:21 geschrieben:
<br/>
<br/>
> Le 06/12/2011 13:44, Ludo Brands a écrit :
<br/>
> > If you rebuild the IDE without -fPIC in the Configure "Build Lazarus"
<br/>
> > Options then you effectively rebuild Lazutils without -fPIC...
<br/>
> > Why rebuild the IDE?
<br/>
> >
<br/>
> New test:
<br/>
> no IDE rebuild since the one this morning
<br/>
> rebuild package Lazutils with -fPIC in project options
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">What means "in project options"?</p>
<p style="margin: 0px;">Lazutils is built with its package options, not the project options. </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px;">
- other> package LazUtils itself not included in required packages but instead
<br/>
> add include search path
<br/>
> $(LazarusDir)/components/lazutils/lib/$(TargetCPU)-$(TargetOS) in the
<br/>
> project options for fincding lazutf8.o and ppu
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">That's what the dependency does.</p>
<p style="margin: 0px;">Plus: the IDE auto recompiles the package if needed. </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px;">
> > On first compile, need a dependency: lazaruspackageintf
<br/>
>
<br/>
> Added $(LazarusDir)/packager/units/$(TargetCPU)-$(TargetOS)
<br/>
> in compile project options-paths
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Sigh.</p>
<p style="margin: 0px;">I'm working on a tool to help fixing such things properly. </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px;">
>
<br/>
> Same errors, this time the problem is linked to lazaruspackageintf.o
<br/>
>
<br/>
> Second run:
<br/>
> - remove search paths for the project
<br/>
> - add required package LazUtils
<br/>
> still the same errors.
</div>
<div> </div>
<div>Mattias</div>
<div> </div>
</body>
</html>