This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patching uclibc include headers before building ct-ng


Zouhair, All,

On Friday 25 March 2011 14:49:44 Infonux wrote:
> i need patch some files (to modify default paths) before building
> crosstool-ng.
> the files is : 
> uClibc-0.9.30.2/include/{netdb.h,netinet/ether.h,paths.h,rpc/rpc.h,ttyent.h,unistd.h}
> and: "bits/uClibc_config.h" (not found in uClibc-0.9.30.2 source)
> archive.
> the patch is ready, but i have no idea how to use it.
> 
> surely a help from you will be very useful.

I am sorry, but I do not understand what you want...

bits/uClibc_config.h is a generated file, and contains the configuration
options of uClibc. Surely, you do *not* want to patch it! If the config
options are not satisfactory to you, then you can provide your own uClibc
.config file, with the options you need.

For the others, they are existing files, and if you need to patch them,
simply put your patch in patches/uClibc/0.9.30.2/xxx-name.patch (where
xxx is a 3-digit number.

What exactly do you want to do? What is the need to patch generated files?

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]