[fpc-devel] Getting fpc to work on Solaris (11)
    Ludo Brands 
    ludo.brands at free.fr
       
    Tue Jul 12 13:06:50 CEST 2011
    
    
  
> One thing I don't understand is whether there's any scope for the 
> computer type that's optionally fed to binutils's ./configure 
> to appear 
> in the final programs (ld for Solaris etc.). I definitely see 
> references 
> to sol2 as the final part of this parameter in config.sub which I 
> believe is used to check and parse the type, where it's used 
> to specify 
> that the OS is -solaris2 rather than -sysv etc.
> 
That is how cross binutils are made. On system x you do a configure
--prefix=dir-to-put-tools 
   --host=the-host --target=the-target
The config.guess script is used by configure when you don't specify a
target.
More usefull info here:
http://wiki.osdev.org/OS_Specific_Toolchain
Ludo
    
    
More information about the fpc-devel
mailing list