[PATCH] crosstool + linux-libc-headers (was Re: problem with compiling for sh3eb)

Arno Schuring aelschuring@hotmail.com
Tue Apr 5 19:48:00 GMT 2005



> Arno Schuring wrote:
>> Oh, ok. Did not know all.sh attempted a kernel build - all.sh never got 
>> further than "Please set /proc/sys/net/ipv4/tcp_tw_recycle to 1", and I 
>> never bothered to do so :)
>
> You may be confusing the (lack of the) --notest option with 
> the --testlinux option.
> They're different.   The case I want to work is --notest --testlinux.

Yup, I'm confused (or rather ignorant). Thank you for clearing that up.

>> Ok, so I will assume the following:
>>
>> - all.sh will abort when either one is missing
>> How about when all.sh is called with the --notest option? If 
>> L*SANITIZED*DIR is set, we might require LINUX_DIR for testing purposes 
>> only, thereby avoiding the need to download another 30MB if the user is 
>> not interested in the test. (However, chances are about 99% the user will 
>> want the kernel sources anyway)
>
> all.sh should only abort if neither is set, I think

And will explain which one it uses for the build if both are set. Done

>> - crosstool.sh will still accept either one and use the sanitized headers 
>> if both are supplied
>> Since crosstool.sh only needs one of the two for the build, there is no 
>> use in requiring both.
>
> fine

Done

>> - getandpatch.sh will just download whatever environment variables are 
>> provided
>> Since getandpatch.sh is either called by all.sh or by a user that knows 
>> what he is doing, I think there is little harm in leaving out sanity 
>> checks here.
>
> fine

It will warn about not downloading either of them, though (not the same as 
"about dl'ing neither")

Done.


My test-build has completed now, using the following 
gcc-3.4.1-glibc-2.3.3.dat:

BINUTILS_DIR=binutils-2.15
GCC_DIR=gcc-3.4.1
GLIBC_DIR=glibc-2.3.3
LINUX_SANITIZED_HEADER_DIR=linux-libc-headers-2.6.11.2
GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.3



Arno


  np: Spock's Beard - Goodbye To Yesterday 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crosstool-sanitized-headers.diff
Type: application/octet-stream
Size: 6117 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20050405/c7976847/attachment.obj>
-------------- next part --------------
------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


More information about the crossgcc mailing list