Mail Archives: djgpp/2011/12/22/18:45:12
On 23 Dez., 00:22, Ozkan Sezer <seze DOT DOT DOT AT gmail DOT com> wrote:
> On Thu, Dec 22, 2011 at 11:05 PM, Juan Manuel Guerrero
>
>
>
>
>
>
>
>
>
> <juan DOT guerr DOT DOT DOT AT gmx DOT de> wrote:
> > On 22 Dez., 21:01, Ozkan Sezer <seze DOT DOT DOT AT gmail DOT com> wrote:
> >> r1.11 of dxe3gen added a hardcoded lib path /dev/env/DJDIR/lib/libc.a
> >> is this intended? It would just break the tool's ability, if any, to
> >> be used in cross-environments.
>
> >> --
> >> O.S.
>
> > Yes this is intentional and required to create DXE modules
> > created by gcc 4.6.X. Please try replacing the hardcoded lib
> > path with "-lc". If that works for you send me a patch and
> > I will change the code.
>
> > Regards,
> > Juan M. Guerrero
>
> Unfortunately I don't have access to gcc-4.6.x at the moment, so
> I won't be able to test for now.
> My remark was just a reminder, though: the tool working ok under
> native environment is fine, if it can be made to work everywhere
> sometime, even better.
>
> Regards.
>
> --
> O.S.
I will try to manage for the first time to install a
linux to djgpp cross compiler but this may take some time.
> My remark was just a reminder, though: the tool working ok under
> native environment is fine, if it can be made to work everywhere
> sometime, even better.
Yes, the tool must work for all environments.
I assume that replacing the absolute library path with
the -lc string will DTRT in both environments but this
must be verified.
Regards,
Juan M. Guerrero
- Raw text -