grub-devel
[Top][All Lists]
Advanced

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

Re: Report: compil error on OSX for target=i386


From: Robert Millan
Subject: Re: Report: compil error on OSX for target=i386
Date: Sat, 5 Sep 2009 22:26:03 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, Sep 05, 2009 at 01:47:52PM +0200, Yves Blusseau wrote:
>>
>> I assume you installed Apple's version of GCC.  Can you try with an  
>> official
>> GCC release?
>
> Yes, i have compiled on a true mac (Leopard 10.5.7) with the gcc-4.2.1  
> version.
>
> I have tried to compil with a mac port of gcc 4.4 but configure report  
> an error (about the linker):
>
> checking whether target compiler is working... no
> configure: error: cannot compile for the target
>
> and if i look into the config.log it's because it use the default apple 
> linker tool witch don't recognize some arguments:
>
> configure:5882: gcc-mp-4.4 -o conftest -Wall -W -Wshadow -Wpointer-arith 
> -Wmissing-prototypes  -Wundef -Wstrict-prototypes -g -Os -falign-jumps=1 
> -falign-loops=1 -falign-functions=1 -fno-dwarf2-cfi-asm -m32 - 
> fno-stack-protector -mno-stack-arg-probe -nostdlib -Wl,-- 
> defsym,___main=0x8100   -m32 conftest.c  >&5
> ld: unknown option: --defsym
> collect2: ld returned 1 exit status

Did you try with GNU binutils?

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."




reply via email to

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