This is the mail archive of the crossgcc@sources.redhat.com 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: how to do a local gcc patch prior/during a crosstool execuion?


Ken Wolcott wrote:
tar xvzf gcc-3.2.1.tar.gz
cd gcc-3.2.1/libstdc++-v3/include/bits
  cp stl_alloc.h stl_alloc.h.old
  edit stl_alloc.h appropriately
  cd ../../../..
diff -Naur ?? ?? <<========= help!
or
diff -Naur gcc-3.2.1/libstdc++-v3/include/bits/stl_alloc.h* ??

I want to place this patch in my expanded crosstool distribution in the
patches/gcc-3.2.1 directory.

Now when I run crosstool I want it to apply this gcc-3.2.1 patch.

But I don't know the correct sequence of steps to generate that patch,
even though I know what to change in stl_alloc.h...

The command you want is diff -u gcc-3.2.1/libstdc++-v3/include/bits/stl_alloc.h{.old,}

- Dan

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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