Hello,

I am trying to compile an empty library with realocation table (-WR option).

Here is the options lazarus uses:  -S2cgi -OG1 -gl -vewnhi -l -Fu.
-onewlib.dll -WR

I did many tests to find out why compiling from command line works,
and not from Lazarus.

In the end I noticed that it works when I compile with a FPC 2.0.2
that was installed separately from Lazarus. If I go to the command
line and use fpc that was installed with Lazarus 0.9.16 it doesn´t
work. (the library is generated without relocation table, so I cannot
load 2 of them simultaneously).

I´m using the exact command line to compile the project. I took a look
at both fpc.cfg files and they seam to be exactly equal to me. Both
compilers have the same version 2.0.2

The project is just a completely empty library:

library newlib;

{$mode objfpc}{$H+}

begin
end.

All of this on Windows XP.

thanks,
--
Felipe Monteiro de Carvalho

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to