On Fri, Aug 7, 2009 at 1:16 PM, Marco Gerards<mgera...@xs4all.nl> wrote:
> Robert Millan <r...@aybabtu.com> writes:
>
> [...]
>
>>> Apple linker can't handle 64-bit differences
>>
>> This seems like a bug.  Can GNU binutils be used on MacOS to resolve this?
>>
>> If it's workable, I'd rather make binutils a build requirement than adding
>> more of this (the other APPLE_CC ifdefs will probably need some review too,
>> but there's no hurry about that).
>
> Agreed.  GRUB is a GNU project and we can depend on GNU programs.
> Especially since we use some GNU extensions.
>
Apple's compiler is based GCC but binutils aren't and they pose the
most of problems. Actualy the most problematic bit was that I didn't
know that unless you prefix variable with L_ apple's assembler treats
it as global. Adding L_ in this code solves problem. Yves proposed to
add a LOCAL(x) macro to symbol.h this way the assembler code is also
more readable. I also did further adjustments in this patch to
decrease the number of ifdefs but had no time to test it and so
couldn't submit it
> --
> Marco
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>



-- 
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to