Sign in Join

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

Mailing lists / fpc-devel / 2011-06

suggestion for new parameter regarding cross compile

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

ik

Hello,

FPC have at the moment the tag -XP to provide prefix for mostly cross compile code for binutils.
I think that there should be also something like -XSU (-XS already taken) to provide suffix for binutils.

For example, in my Arch Linux that is 64 bit, the 32 bit binutils have "ld86" and "as86", so providing suffix
instead of creating unmaintainable symlink can provide help in the manner.

What do you think on this ?

Thanks,
Ido

LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il

Reply by email

Jonas Maebe
to ik
ik wrote 8 lines
FPC have at the moment the tag -XP to provide prefix for mostly cross compile code for binutils. I think that there should be also something like -XSU (-XS already taken) to provide suffix for binutils. For example, in my Arch Linux that is 64 bit, the 32 bit binutils have "ld86" and "as86",

As far as I can tell, as86 is something different from a 32 bit version of GNU as. It's an assembler for Intel-style assembler that also supports 16 bit code: http://www.linuxdocs.org/HOWTOs/Assembly-HOWTO/as86.html

It's used while compiling the Linux kernel and probably also for things like GRUB, which are called from the BIOS when the system is still in 16 bit real mode.

Jonas

Reply by email