Date: Tue, 12 Sep 1995 11:15:49 -0600 From: Warner Losh <imp@village.org> To: hackers@freebsd.org Subject: Cross compiler Message-ID: <199509121715.LAA01522@rover.village.org>
next in thread | raw e-mail | index | archive | help
I'm in the position of needing to support an older version of FreeBSD. The recent syslog bug has brought to my attention the need to be able to build binaries for this system from time to time. I was thinking of setting up a cross compiler on my FreeBSD 2.0R (or 2.0.5R) box for the 1.1.5R machine and they trying to rebuild libc and those binaries that are impacted (the 1.1.5R machine, as you may know, has a puny 40M IDE disk only and no NFS support). Has anybody done this? Are there any gotchas that I need to worry about? I know I can't just run the 1.1.5R compilers on my machine because they will, unless specifically told otherwise, go after the wrong include files, assemblers, cpp, etc. My current plan is to build the 2.4.5 gnu c that is in the 1.1.5R release on my 2.0R box and follow the instructions for a cross compiler that gcc has had for a long time. I'll just bring over things like ld and as since I believe that the cross compiler runs these, if found in a certain directory, with flags like -nostdlib. Any comments? Better yet, anybody have a 1.1.5R libc that is rebuilt with the syslog patch fixed? Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509121715.LAA01522>