[fpc-pascal] Fcp for arm linux for EABI
Jose Pascual
josepascual at almudi.com
Thu Apr 26 18:06:09 CEST 2007
Which toolchain are you using for ARM?
I suppose you are using kernel for arm with EABI activate and libc with EABI
is it right?
which version of kernel?
which arm?
I'm using (begin to use for EABI) gcc 4.1.1-glibc 2.5-EABI (armv4t), kernel
2.6.19 with EABI and
ARM920T (at91rm9200)
> -----Mensaje original-----
> De: fpc-pascal-bounces at lists.freepascal.org [mailto:fpc-pascal-
> bounces at lists.freepascal.org] En nombre de Henry Vermaak
> Enviado el: jueves, 26 de abril de 2007 14:54
> Para: FPC-Pascal users discussions
> Asunto: Re: [fpc-pascal] Fcp for arm linux for EABI
>
> another thing that's important to do when you're using svn is edit
> compiler/systems/i_linux.pas. go to the arm_linux section and remove
> the tf_smartlink_sections from the flags. you can also edit the
> endianness of the target here (endian_little or endian_big). see for
> example my diff for my big endian arm:
>
> hcv at technical02:~/freepascal/latest$ svn diff -r HEAD
> compiler/systems/i_linux.pas
> Index: compiler/systems/i_linux.pas
> ===================================================================
> --- compiler/systems/i_linux.pas (revision 7167)
> +++ compiler/systems/i_linux.pas (working copy)
> @@ -525,7 +525,7 @@
> name : 'Linux for ARM';
> shortname : 'Linux';
> flags :
> [tf_needs_symbol_size,tf_needs_symbol_type,tf_files_case_sensitive,
> -
> tf_use_function_relative_addresses,tf_requires_proper_alignment,tf_smar
> tlink_sections];
> +
> tf_use_function_relative_addresses,tf_requires_proper_alignment];
> cpu : cpu_arm;
> unit_env : 'LINUXUNITS';
> extradefines : 'UNIX;HASUNIX';
> @@ -558,7 +558,7 @@
> res : res_none;
> dbg : dbg_stabs;
> script : script_unix;
> - endian : endian_little;
> + endian : endian_big;
> alignment :
> (
> procalign : 4;
>
> henry
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list