[fpc-pascal] Re: build a compiler for GO32v2 under Windows 8 (or 7)

Sven Barth pascaldragon at googlemail.com
Fri Sep 20 11:00:38 CEST 2013


Am 20.09.2013 09:20, schrieb Marco van de Voort:
> In our previous episode, Tomas Hajny said:
>> Have you checked it in fixes or trunk? In any case, I've tried it directly
>> with the 2.6.2 binary before posting - even if I pass -Xi explicitly, the
>> compiler still complains about go32v2-ld.exe not found if it is not
>> accessible (and linking fails). I believe that Sergei may have fixed /
>> enabled it for GO32v2 in trunk (but my memory may serve me wrong, of
>> course).
> I also started testing when I saw it, and I could cycle trunk with -Xi.
>
> I'm not sure how far along it is, and if it is default. (is the internal
> linker always default if available?)
Yes, the internal linker is used by default. See options.pas, line 3246:

=== code begin ===

   { Force use of external linker if there is no
     internal linker or the linking is skipped }
   if not(cs_link_extern in init_settings.globalswitches) and
      ((target_info.link=ld_none) or
       (cs_link_nolink in init_settings.globalswitches)) then
     include(init_settings.globalswitches,cs_link_extern);

=== code end ===

Regards,
Sven



More information about the fpc-pascal mailing list