grub-devel
[Top][All Lists]
Advanced

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

Re: GRUB 1.91 is released


From: Joe Ciccone
Subject: Re: GRUB 1.91 is released
Date: Tue, 18 Oct 2005 17:14:16 -0400
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050925)

Marco Gerards wrote:

>Joe Ciccone <address@hidden> writes:
>
>  
>
>>Yoshinori K. Okuji wrote:.
>>
>>    
>>
>>>* Add support for x86_64.
>>>
>>>      
>>>
>>I am curious if support for x86_64 still uses -m32 in the build process,
>>and if so, why?
>>    
>>
>My question: why not?
>  
>
I just created a simply dummy program and tried to compile it with a
64bit only compiler, cross-compiling or not, the build of grub fails
with -m32, just as the build of this simple program fails with -m32. Now
that you have an example of that happens in a Pure64bit enviorment with
only 64 bit libs available to the compiler. Do you have any ideas on
what can be done to make grub compile and work under these conditions?

lfs:~$ echo "int main () {}" > dummy.c
lfs:~$ $CC -m32 dummy.c
/home/lfs/cross-tools/bin/../lib/gcc/x86_64-pc-linux-gnu/4.0.2/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible
/home/lfs/cross-tools/bin/../lib/gcc/x86_64-pc-linux-gnu/4.0.2/./libgcc.a
when searching for -lgcc
/home/lfs/cross-tools/bin/../lib/gcc/x86_64-pc-linux-gnu/4.0.2/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible
/home/lfs/cross-tools/bin/../lib/gcc/x86_64-pc-linux-gnu/4.0.2/libgcc.a
when searching for -lgcc
/home/lfs/cross-tools/bin/../lib/gcc/x86_64-pc-linux-gnu/4.0.2/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible
/cross-tools/lib/gcc/x86_64-pc-linux-gnu/4.0.2/./libgcc.a when searching
for -lgcc
/home/lfs/cross-tools/bin/../lib/gcc/x86_64-pc-linux-gnu/4.0.2/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible
/cross-tools/lib/gcc/x86_64-pc-linux-gnu/4.0.2/libgcc.a when searching
for -lgcc
/home/lfs/cross-tools/bin/../lib/gcc/x86_64-pc-linux-gnu/4.0.2/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lgcc
collect2: ld returned 1 exit status





reply via email to

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