Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2014-09

Which platforms have internal linkers

8 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Reinier Olislagers

Hi,

AFAIU at least x86/x64 Windows and Linux use an internal linker. Any others? (Related: how can one find out/is there a list somewhere?) (Helps me update my ego-boosting fpcup cross compiler conversion table :) )

Thanks,
Reinier

Reply by email

Sven Barth
to Reinier Olislagers
Reinier Olislagers wrote 5 lines
Hi, AFAIU at least x86/x64 Windows and Linux use an internal linker. Any others? (Related: how can one find out/is there a list somewhere?) (Helps me update my ego-boosting fpcup cross compiler conversion table :) )

Linux has an internal linker, but it's AFAIK not yet the default one. All the Windows platforms (i386-win32/-wince, x86_64-win64, arm-wince and *-nativent) use the internal linker.

Regards,
Sven

Reply by email

Jeppe Græsdal Johansen
to Sven Barth
Sven Barth wrote 14 lines
On 07.09.2014 16:36, Reinier Olislagers wrote: > Hi, > > AFAIU at least x86/x64 Windows and Linux use an internal linker. Any > others? (Related: how can one find out/is there a list somewhere?) > (Helps me update my ego-boosting fpcup cross compiler conversion > table :) ) Linux has an internal linker, but it's AFAIK not yet the default one. All the Windows platforms (i386-win32/-wince, x86_64-win64, arm-wince and *-nativent) use the internal linker. Regards, Sven

ARM doesn't have an internal writer yet though so you still need an external assembler for wince.

Reply by email

Marco van de Voort
to Sven Barth: Linux has an internal linker, but it's AFAIK not yet the default one. All the Windows…

In our previous episode, Sven Barth said:

Show quoted text 6 lines
> others? (Related: how can one find out/is there a list somewhere?) > (Helps me update my ego-boosting fpcup cross compiler conversion table :) ) Linux has an internal linker, but it's AFAIK not yet the default one. All the Windows platforms (i386-win32/-wince, x86_64-win64, arm-wince and *-nativent) use the internal linker.

Afaik in trunk also go32v2, and if default is determined by order of registration, it is not default either.

Reply by email

Sven Barth
to Jeppe Græsdal Johansen: ARM doesn't have an internal writer yet though so you still need an external assembler…
Jeppe Græsdal Johansen wrote 17 lines
Den 07-09-2014 17:11, Sven Barth skrev: > On 07.09.2014 16:36, Reinier Olislagers wrote: >> Hi, >> >> AFAIU at least x86/x64 Windows and Linux use an internal linker. Any >> others? (Related: how can one find out/is there a list somewhere?) >> (Helps me update my ego-boosting fpcup cross compiler conversion >> table :) ) > > Linux has an internal linker, but it's AFAIK not yet the default one. > All the Windows platforms (i386-win32/-wince, x86_64-win64, arm-wince > and *-nativent) use the internal linker. > > Regards, > Sven ARM doesn't have an internal writer yet though so you still need an external assembler for wince.

The question was about linkers, not assemblers ;)

Regards,
Sven

Reply by email

Sergei Gorelkin
to Marco van de Voort: In our previous episode, Sven Barth said: Afaik in trunk also go32v2, and if default is…

07.09.2014 20:22, Marco van de Voort пишет:

Show quoted text 10 lines
In our previous episode, Sven Barth said: >> others? (Related: how can one find out/is there a list somewhere?) >> (Helps me update my ego-boosting fpcup cross compiler conversion table :) ) > > Linux has an internal linker, but it's AFAIK not yet the default one. > All the Windows platforms (i386-win32/-wince, x86_64-win64, arm-wince > and *-nativent) use the internal linker. Afaik in trunk also go32v2, and if default is determined by order of registration, it is not default either.

It does not depend on registration order: an internal linker is always a default one. For this reason, internal ELF linkers are not yet registered and cannot be used without modification of compiler code.

And yes, on go32v2 the internal linker enabled and used by default.

Regards,
Sergei

Reply by email

Jeppe Græsdal Johansen
to Sven Barth: The question was about linkers, not assemblers ;) Sven
Sven Barth wrote 23 lines
On 07.09.2014 17:17, Jeppe Græsdal Johansen wrote: > Den 07-09-2014 17:11, Sven Barth skrev: >> On 07.09.2014 16:36, Reinier Olislagers wrote: >>> Hi, >>> >>> AFAIU at least x86/x64 Windows and Linux use an internal linker. Any >>> others? (Related: how can one find out/is there a list somewhere?) >>> (Helps me update my ego-boosting fpcup cross compiler conversion >>> table :) ) >> >> Linux has an internal linker, but it's AFAIK not yet the default one. >> All the Windows platforms (i386-win32/-wince, x86_64-win64, arm-wince >> and *-nativent) use the internal linker. >> >> Regards, >> Sven > ARM doesn't have an internal writer yet though so you still need an > external assembler for wince. The question was about linkers, not assemblers ;) Regards, Sven

Correct, but if you have to use gas, you will probably have access to ld too :P

Reply by email