RE: FreeBSD make on other platforms [was: Re: Building FreeBSD onLinux]
Hi Giorgos, The build failed for me 'with a syntax error before __dead2 '. Are there any special include files I am supposed to have? I had trouble with the autoconf version I had installed and had to upgrade to the latest. Then I was able to move past, autoconf, automake, configure. Whhen I went to make I got that error. It looks like __dead2 is a #define in cdefs.h found in some BSD installs. I am building on RedHat Enterprise Linux 4 and the sys/cdefs.h file does not see to define __dead2. Is this make file supposed to build on Linux. If so are there pe-reqs before I can build it. Thanks, Sarvi -Original Message- From: Giorgos Keramidas [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 3:02 AM To: Micha?l Gr?newald Cc: Saravanan Shanmugham (sarvi); freebsd-questions@freebsd.org Subject: FreeBSD make on other platforms [was: Re: Building FreeBSD onLinux] Importance: High On 2007-12-03 08:08, Micha?l Gr?newald [EMAIL PROTECTED] wrote: Saravanan Shanmugham (sarvi) [EMAIL PROTECTED] writes: I have tried GNU Make 3.80 as well as pmake. And I can't seem to find bmake for Linux. I have found in my vaults a script that downloads pmake source from your favorite FreeBSD's mirror and builds a binary that worked on (at least one workstation running) Linux. Since there seems to be so much interest in running FreeBSD make(1) on other platforms, I've committed what I have done so far to http://hg.hellug.gr/bmake/gker. It's not a full port of FreeBSD make(1) yet, but anyone interested to help is invited to hop in and give me a hand :) The main goal of this `project' is to have a fully buildable version of FreeBSD make(1) on Linux and Solaris, so that one can build FreeBSD-like makefiles by running: /usr/local/bin/bmake [ -f BSDmakefile ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD make on other platforms [was: Re: Building FreeBSD onLinux]
Saravanan Shanmugham (sarvi) wrote: Hi Giorgos, The build failed for me 'with a syntax error before __dead2 '. Are there any special include files I am supposed to have? I had trouble with the autoconf version I had installed and had to upgrade to the latest. Then I was able to move past, autoconf, automake, configure. Whhen I went to make I got that error. It looks like __dead2 is a #define in cdefs.h found in some BSD installs. I am building on RedHat Enterprise Linux 4 and the sys/cdefs.h file does not see to define __dead2. __dead2 is a custom gcc modification. It just means the function doesn't return IIRC. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD make on other platforms [was: Re: Building FreeBSD onLinux]
On 2007-12-04 08:29, Saravanan Shanmugham (sarvi) [EMAIL PROTECTED] wrote: Hi Giorgos, The build failed for me 'with a syntax error before __dead2 '. Are there any special include files I am supposed to have? I had trouble with the autoconf version I had installed and had to upgrade to the latest. Then I was able to move past, autoconf, automake, configure. The project is in its 'prenatal' stage yet, but I'm trying to move a bit faster towards a buildable source tree on Linux. As Philip notes: On 2007-12-04 11:33, Philip M. Gollucci [EMAIL PROTECTED] wrote: __dead2 is a custom gcc modification. It just means the function doesn't return IIRC. There's still a fair amount of work to make the source tree buildable on non-FreeBSD platforms. One of the next steps should be to make these FreeBSD-specific bits (mostly stuff from src/sys/sys/cdefs.h) available outside of the full FreeBSD src/ tree too. Happily, the FreeBSD source is BSD-licensed, so I can import parts of it to the bmake source tree easily :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]