Help me to develop a FreeBSD patch for gcc-4.2.1

Alexander Kabaev kabaev at gmail.com
Tue Oct 7 23:26:45 UTC 2008


On Mon, 6 Oct 2008 06:19:34 -0700 (PDT)
Unga <unga888 at yahoo.com> wrote:

> Hi all
> 
> I need to patch the gcc original sources to suit the FreeBSD,
> specially to support FreeBSD kernel compilation. I have tried it,
> spent lot of time, but it still develops compilation errors.
> 
> The FreeBSD stable comes with gcc-4.2.1 but the sources are scattered
> over the /usr/src, therefore, I find it difficult to re-create the
> gcc-4.2.1 to its original directory layout to make a patch.
> 
> I appreciate it very much, if you guys could help me to identify the
> pieces.
> 
> Or alternatively, if someone could straight away put the FreeBSD gcc
> sources back to a directory and make a patch compared to the original
> gcc-4.2.1 sources from GNU and post here, I could apply the patch on
> my side and verify it was done correctly, whether I can compile the
> FreeBSD kernel or not.
> 
> Many thanks in advance.
> 
> Kind regards
> Unga

If you still have CVS tree available, you can do 'cvs diff -rFSF' in
contrib/gcc and apply the patches to files gcc-4.2.1/gcc.

 
-- 
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20081007/40805711/signature.pgp


More information about the freebsd-stable mailing list