grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GITGRUB] Support new object format for powerpc-ieee1275


From: Vladimir 'phcoder' Serbinenko
Subject: Re: [GITGRUB] Support new object format for powerpc-ieee1275
Date: Fri, 28 Aug 2009 23:06:07 +0200

On Fri, Aug 28, 2009 at 9:19 PM, Bean<address@hidden> wrote:
> Hi,
>
> Update: fix a few endian and relocation issue, I can now build all
> i386/x64_64/powerpc targets from x86/powerpc OSX Tiger/Leopard.
>
> Note: when building on OSX, I recommend adding configure option
> --disable-grub-fstest --disable-grub-emu --disable-mkfont. grub-fstest
> can be built successfully, but OSX don't allow executing code from
> stack, running grub-fstest would cause a segment fault.
sysctl kern.nx=0
> Here are some information on configure parameter:
>
> x86 OSX 10.5 (Leopard), Xcode 3.0, gcc 4.0
> i386-pc:
> ./configure --with-platform=pc --disable-grub-fstest
> --disable-grub-emu --disable-mkfont
>
> x86_64-efi:
> ./configure --with-platform=efi  --target=x86_64 --disable-grub-fstest
> --disable-grub-emu --disable-mkfont
>
> powerpc-ieee1275:
> ./configure --with-platform=ieee1275  --target=powerpc
> TARGET_CC=powerpc-apple-darwin9-gcc-4.0.1 --disable-grub-fstest
> --disable-grub-emu --disable-mkfont
>
> powerpc OSX 10.4 (Tiger), Xcode 2.5, gcc 4.0
> i386-pc:
> ./configure --with-platform=pc --target=i386
> TARGET_CC=i686-apple-darwin8-gcc-4.0.1 --disable-grub-fstest
> --disable-grub-emu --disable-mkfont
>
> x86_64-efi:
> ./configure --with-platform=efi  --target=x86_64
> TARGET_CC=i686-apple-darwin8-gcc-4.0.1 --disable-grub-fstest
> --disable-grub-emu --disable-mkfont
>
> powerpc-ieee1275:
> ./configure --with-platform=ieee1275 --disable-grub-fstest
> --disable-grub-emu --disable-mkfont
>
> BTW, the default bison installed on OSX tiger would cause compile
> error, install bison from macport and it would be ok.
>
> --
> Bean
>
> gitgrub home: http://github.com/grub/grub/
> my fork page: http://github.com/bean123/grub/
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>



-- 
Regards
Vladimir 'phcoder' Serbinenko

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]