gcc cross compiling for CRIS
The options available for cross compiling a CRIS binary within gcc do not seem to work. Is it possible that the base gcc doesn't have cross-compiling built in? -- Jim Pazarena [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gcc cross compiling for CRIS
On Fri, Jun 27, 2008 at 11:05:18PM -0700, Jim Pazarena wrote: The options available for cross compiling a CRIS binary within gcc do not seem to work. I have no idea what a CRIS binary might be, but that probably does not matter. Is it possible that the base gcc doesn't have cross-compiling built in? The base gcc is not configured as a cross compiler, no. If you want a cross compiler look at the devel/cross-gcc and devel/cross-binutils ports. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cross compiling i386 packages on amd64
Hi all, I have an i386 jail running on an amd64 host that I use to build packages. Most packages build fine, however I have a few that fail. This includes xorg (dri won't build) and mplayer. In all cases I get an error messages similar to this: {standard input}:147: Error: `(%rsi)' is not a valid 32 bit base/index expression {standard input}:148: Error: `(%rsi,%rax)' is not a valid 32 bit base/index expression gmake[1]: *** [pullup.o] Error 1 Any ideas how I can fix this? Cheers, Andrew -- accid.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cross compiling i386 packages on amd64
On Tue, May 6, 2008 at 12:21 PM, Andrew Cid [EMAIL PROTECTED] wrote: Hi all, I have an i386 jail running on an amd64 host that I use to build packages. Most packages build fine, however I have a few that fail. This includes xorg (dri won't build) and mplayer. In all cases I get an error messages similar to this: {standard input}:147: Error: `(%rsi)' is not a valid 32 bit base/index expression {standard input}:148: Error: `(%rsi,%rax)' is not a valid 32 bit base/index expression gmake[1]: *** [pullup.o] Error 1 Any ideas how I can fix this? There are some tricks you can play. Notably, you need to trick auto* tools into thinking it's an i386 system. I think setting UNAME_m=i386 does the trick there: uname -a FreeBSD pflog.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Feb 26 01:20:52 EST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PFLOG amd64 setenv UNAME_m i386 uname -a FreeBSD pflog.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Feb 26 01:20:52 EST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PFLOG i386 I believe there is something else I'm forgetting that you need to do to make compilation happy for some ports, but I can't recall them at the moment. Of course, things that expect to talk to an i386 kernel aren't going to work, and you may have issues with things that use hand-written ASM. Try setting UNAME_m though and see if it helps. It might also be wise to set ARCH=i386 and/or TARGET_ARCH=i386 in /etc/ports.conf. Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Distcc + cross compiling
Hello, I have a FreeBSD x86 server, running FreeBSD 7.0-RELEASE, I'd like to create a new jail with distcc and gcc to help my laptop compiling gentoo x86 stuff, I'm using GCC 4.2.3 on my laptop... is it possible to use FreeBSD for compiling gentoo's stuff?? I heard of cross-compiling but I have never tried it... if so, any guide please ?? Thanks :) -- Wael Nasreddine http://wael.nasreddine.com PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724 DE12 5565 3945 C8DD 18A2 /ö\ TANSTAAFL pgpXBkJTeKAeV.pgp Description: PGP signature
Re: Distcc + cross compiling
On Tue, 2008-03-25 at 07:17 +0100, Wael Nasreddine wrote: Hello, I have a FreeBSD x86 server, running FreeBSD 7.0-RELEASE, I'd like to create a new jail with distcc and gcc to help my laptop compiling gentoo x86 stuff, I'm using GCC 4.2.3 on my laptop... is it possible to use FreeBSD for compiling gentoo's stuff?? I heard of cross-compiling but I have never tried it... if so, any guide please ?? Thanks :) Cross compiling refers to the practice of compiling on one hardware architecture for another hardware architecture, typically going from x86 to ARM I'd imagine. In this case, FreeBSD and gentoo put libraries in different places, call libraries by different names, and use an entirely different system of makefiles for packages. As such, I imagine that either you'd be better off making a virtual machine with gentoo installed in it on your FreeBSD box and compiling from there, or it's possible you could compile static binaries and use those. I'm not an expert on jails by any means, but my understanding is that the only OS you can use within a jail is FreeBSD, as all jailees share a common kernel. Best James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Distcc + cross compiling
This One Time, at Band Camp, James Harrison [EMAIL PROTECTED] said, On Tue, Mar 25, 2008 at 08:03:46AM -0600: On Tue, 2008-03-25 at 07:17 +0100, Wael Nasreddine wrote: Hello, I have a FreeBSD x86 server, running FreeBSD 7.0-RELEASE, I'd like to create a new jail with distcc and gcc to help my laptop compiling gentoo x86 stuff, I'm using GCC 4.2.3 on my laptop... is it possible to use FreeBSD for compiling gentoo's stuff?? I heard of cross-compiling but I have never tried it... if so, any guide please ?? Thanks :) Cross compiling refers to the practice of compiling on one hardware architecture for another hardware architecture, typically going from x86 to ARM I'd imagine. In this case, FreeBSD and gentoo put libraries in different places, call libraries by different names, and use an entirely different system of makefiles for packages. As such, I imagine that either you'd be better off making a virtual machine with gentoo installed in it on your FreeBSD box and compiling from there, or it's possible you could compile static binaries and use those. I'm not an expert on jails by any means, but my understanding is that the only OS you can use within a jail is FreeBSD, as all jailees share a common kernel. Best James Oh, I didn't know the difference thanks, I'll try working on a gentoo chroot inside a Jail, and create a new rc.d to start the distcc of that chroot, thx :) P.S: isn't there a Reply to List in evolution?? emails sent to the mailing list with evolution ( I'm not sure if all of them but yours did and a lot before has the same issue. ) doesn'tpass the checks I have in my procmail setting (attached) and end up in a wrong folder... -- Wael Nasreddine http://wael.nasreddine.com PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724 DE12 5565 3945 C8DD 18A2 /ö\ I'm a cat person, myself, she said, vaguely. A low-level voice said: /ö\ Yeah? Yeah? Wash in your own spit, do you? /ö\ -- It's a dog's life /ö\(Terry Pratchett, Moving Pictures) # vim:ft=procmail:fenc=UTF-8:ts=4:sts=4:sw=4:expandtab: # # $Id: rc.lists 60 2007-05-28 07:26:19Z wael $ # Mailing Lists (misc rules found here and there) :0 * ^X-Mailing-List-Name: \/[EMAIL PROTECTED] $MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/ :0 * ^Sender: owner-\/[EMAIL PROTECTED] $MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/ :0 * ^X-BeenThere: \/[EMAIL PROTECTED] $MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/ :0 * ^Delivered-To: mailing list \/[EMAIL PROTECTED] $MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/ :0 * ^X-Mailing-List: \/[EMAIL PROTECTED] $MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/ :0 * ^X-Loop: \/[EMAIL PROTECTED] $MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/ :0 * ^X-List-ID: \/[EMAIL PROTECTED] $MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/ :0 * ^X-list: \/[EMAIL PROTECTED] $MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/ :0 * ^List-ID: \/[EMAIL PROTECTED] $MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/ pgpx4J3FLkpM6.pgp Description: PGP signature
Cross Compiling
hello, i need if i can make cross compiling for bsdlite while im running freebsd , if there is any kind of help for this , cross compiling , and all about how to make it done plz help me.. /`| \] (| | (| \/ (| / Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=listsid=396545433 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cross compiling to amd64 in a i386 machine?
is there a way to cross compile to amd64 from i386? I see that as support a --64 target but when I try to compile a program with that target it gives the error Fatal error: No compiled in support for x86_64 I am trying to cross compile FreePascal from i386 to amd64. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cross Compiling
Is it possible to build runnable 4.X and 5.X systems from a 6.0 system? Cheers, Cy Schubert [EMAIL PROTECTED] Web: http://www.komquats.com FreeBSD UNIX: [EMAIL PROTECTED] Web: http://www.FreeBSD.org BC Government: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cross Compiling
On Thu, Feb 09, 2006 at 07:22:08PM -0800, Cy Schubert wrote: Is it possible to build runnable 4.X and 5.X systems from a 6.0 system? 5.x, yes, no special effort needed at the moment, 4.x, you have to do it inside a 4.x chroot or jail (e.g. populate with the release tarballs from the ftp site). Kris pgpCj4k2ICDwv.pgp Description: PGP signature
Re: distcc and cross-compiling for FreeBSD on Linux/Solaris
Today i had success compiling: firefox on Debian/i386 with gcc version 3.4.5 20050821 (prerelease) (Debian 3.4.4-8) (worked out-of-the-box) squid on FC4/amd64 with gcc version 4.0.1 20050727 (Red Hat 4.0.1-5) (required CFLAGS+=-m32 in /etc/make.conf on the distcc client) Both firefox and squid work flawlessly on FreeBSD/i386 6.0-BETA5. My roadmap is to build world and kernel on both Linuxes (with other gcc versions) and then to try and do it all on Solaris 10, sparc64. Wish me luck :-) Cheerz, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
distcc and cross-compiling for FreeBSD on Linux/Solaris
We've got some mostly idle, but powerful sparc64 servers running Solaris 9/10, as well as a host of Linux servers (x86 and x86_64). Of course, all the real work is done on a pack of FreeBSD boxes :-) Some days ago I started using ccache and distcc, and I really love these tools. Now I want to get the Solaris and Linux servers to do something useful and compile world, kernels and ports for the FreeBSD boxes. Is there a somewhat comprehensive guide to this? Can somebody share his experience with me? I'm now looking into crosstool how-to's, but I have no knowledge of gcc intrinsics, and some points are very hard for me to understand. Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: distcc and cross-compiling for FreeBSD on Linux/Solaris
On Oct 10, 2005, at 2:34 AM, Andrew P. wrote: We've got some mostly idle, but powerful sparc64 servers running Solaris 9/10, as well as a host of Linux servers (x86 and x86_64). Of course, all the real work is done on a pack of FreeBSD boxes :-) Some days ago I started using ccache and distcc, and I really love these tools. Now I want to get the Solaris and Linux servers to do something useful and compile world, kernels and ports for the FreeBSD boxes. Is there a somewhat comprehensive guide to this? Can somebody share his experience with me? I'm now looking into crosstool how-to's, but I have no knowledge of gcc intrinsics, and some points are very hard for me to understand. Thanks, Andrew P. Good luck with that effort. Not to treat it as the feat is entirely impossible, but I'm not sure how you would approach it without using GNU lib stuff since linux runs via GNU libs whereas FreeBSD uses their own libc package. Not only that, you would have to have equivalent compiling tools, have the libs compiled for multiple archs, etc. It's a fairly large project that many companies are actually working on right now for making into reality since computing clusters are becoming so prevalent nowadays. Anyhow... not impossible (well, maybe for the kernel end of things, but not some of the packages in world or ports), but good luck ;)! -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: distcc and cross-compiling for FreeBSD on Linux/Solaris
Andrew P. wrote: We've got some mostly idle, but powerful sparc64 servers running Solaris 9/10, as well as a host of Linux servers (x86 and x86_64). Of course, all the real work is done on a pack of FreeBSD boxes :-) Some days ago I started using ccache and distcc, and I really love these tools. Now I want to get the Solaris and Linux servers to do something useful and compile world, kernels and ports for the FreeBSD boxes. Is there a somewhat comprehensive guide to this? Can somebody share his experience with me? I'm now looking into crosstool how-to's, but I have no knowledge of gcc intrinsics, and some points are very hard for me to understand. Thanks, Andrew P. Have you looked at http://www.opensource.apple.com/darwinsource/projects/other/distcc-31.0.81/linuxdoc/html/distcc-5.html It hints that you need to install a gcc that was built for your target system on all machines that you're using. I think distcc handles library inconsitencies for you (at least it claims that you need not have the same libraries installed on all machines). HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: distcc and cross-compiling for FreeBSD on Linux/Solaris
In the last episode (Oct 10), Garrett Cooper said: On Oct 10, 2005, at 2:34 AM, Andrew P. wrote: We've got some mostly idle, but powerful sparc64 servers running Solaris 9/10, as well as a host of Linux servers (x86 and x86_64). Of course, all the real work is done on a pack of FreeBSD boxes :-) Some days ago I started using ccache and distcc, and I really love these tools. Now I want to get the Solaris and Linux servers to do something useful and compile world, kernels and ports for the FreeBSD boxes. Is there a somewhat comprehensive guide to this? Can somebody share his experience with me? I'm now looking into crosstool how-to's, but I have no knowledge of gcc intrinsics, and some points are very hard for me to understand. Good luck with that effort. Not to treat it as the feat is entirely impossible, but I'm not sure how you would approach it without using GNU lib stuff since linux runs via GNU libs whereas FreeBSD uses their own libc package. Distcc takes care to only pass preprocessed source to remote hosts, and only distributes source-object compile requests, so you don't need FreeBSD headers or libraries on the other systems; just a cross-compiler. I can't help with setting up cross-compilers, but since there's a FAQ entry on it ( http://distcc.samba.org/faq.html#cross-compile ), doing what you want is certainly possible. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: distcc and cross-compiling for FreeBSD on Linux/Solaris
On Oct 10, 2005, at 7:01 AM, Micah wrote: Andrew P. wrote: We've got some mostly idle, but powerful sparc64 servers running Solaris 9/10, as well as a host of Linux servers (x86 and x86_64). Of course, all the real work is done on a pack of FreeBSD boxes :-) Some days ago I started using ccache and distcc, and I really love these tools. Now I want to get the Solaris and Linux servers to do something useful and compile world, kernels and ports for the FreeBSD boxes. Is there a somewhat comprehensive guide to this? Can somebody share his experience with me? I'm now looking into crosstool how-to's, but I have no knowledge of gcc intrinsics, and some points are very hard for me to understand. Thanks, Andrew P. Have you looked at http://www.opensource.apple.com/darwinsource/ projects/other/distcc-31.0.81/linuxdoc/html/distcc-5.html It hints that you need to install a gcc that was built for your target system on all machines that you're using. I think distcc handles library inconsitencies for you (at least it claims that you need not have the same libraries installed on all machines). HTH, Micah IIRC, I think that the libraries are needed, but are semi- modular in the sense that all that you need to do is grab the libs and make sure your compiler is equivalent (ie no mixing gcc with cc, etc), and include the libs in your compilation. Not sure how you are going to grab the libs for FreeBSD though without possibly CVSup'ing the source, which I'm not saying is impossible-just a minute pain. So, in essence I may have been a bit too pessimistic about the task. I didn't really get into the subject of distcc though I suppose and should have read a bit more in-depth articles earlier. I was just exploring instruction sets for compiling via the similar architecture for a LAN distcc farm, but gave up after realizing there were far too many clients with differing archs from my own, and the benefit wasn't worth my time since it was all for charity. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cross-compiling for other architectures
Hi all, Is it possible to cross-compile the base system for the sparc architecture from an x86 machine? I thought I had seen an article on setting this sort of thing up before but I can no longer find it. Thanks Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cross-compiling for other architectures
Chris Hodgins wrote: Is it possible to cross-compile the base system for the sparc architecture from an x86 machine? I thought I had seen an article on setting this sort of thing up before but I can no longer find it. You should use the TARGET_ARCH macro. See release(7). Cheers, Gábor Kövesdán ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cross-compiling for other architectures
On 7/19/05, Kövesdán Gábor [EMAIL PROTECTED] wrote: Chris Hodgins wrote: Is it possible to cross-compile the base system for the sparc architecture from an x86 machine? I thought I had seen an article on setting this sort of thing up before but I can no longer find it. You should use the TARGET_ARCH macro. See release(7). Cheers, Gábor Kövesdán Brilliant. Thanks for the very quick response. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cross Compiling
I have compiled a FreeBSD custom kernel for a pc98 arch laptop on my i686 box. I was wondering how I could actually transfer the kernel to floppy so I can load it into my laptop. I tried to copy the kernel folder but it's full of symlinks and doesn't produce an actual kernel for me. is there anyone here who has experience with cross compiling kernels that can help me? I already did make and make depend...of course I can't install it on my i386 box because the architecture is totally different. How do I migrate the kernel ?? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cross-compiling Linux binaries
Anyone ever tried building Linux rpm's on freebsd? If so, any hints for someone thinking of trying it? Thanks, mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cross-compiling Linux binaries
On Fri, Nov 19, 2004 at 10:19:32AM -0600, Mike Meyer wrote: Anyone ever tried building Linux rpm's on freebsd? If so, any hints for someone thinking of trying it? Start by installing linux_devtools and chroot into /compat/linux Kris pgpznFXRsEWqZ.pgp Description: PGP signature
about cross-compiling
Hi all, I don't know How to cross-compiling FreeBSD for ia64 on i386 system.Please help me. Regards, Annie _ MSN Explorer: http://explorer.msn.com/lccn/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cross-compiling
Hi Kris, Thanks for the answer. Sorry, I was busy the last mounths. * Kris Kennaway schrieb am 08 Mar 2004: On Mon, Mar 08, 2004 at 01:03:47PM +0100, Soeren Mindorf wrote: I change to 5.2/src and start the build: make -DNO_KERBEROS TARGET_ARCH=sparc64 buildworld That is correct. Fine. ;) But I read that I should use ARCH=sparc64. Where did you read this? Somewhere, but I lost the Link. On every install I become the following error: === include creating osreldate.h from newvers.sh touch: not found *** Error code 127 This error is not specific to cross-building, but it means that 'installworld' couldn't find the OBJDIR that your world was built into. By default this is a subdirectory of /usr/obj: you'll need to mount this on the target as well, and specify its location with MAKEOBJDIRPREFIX. I think this is all documented in a handbook chapter on installing world on another machine via nfs. Ok, that I have read but it doesent work. :( Here is my Directory un the Buildmachine: /usr/5.2/src /usr/5.2/ports /usr/5.2/sup cd /usr/5.2/src make TARGET_ARCH=sparc64 buildworld The build finished without any errors. On the target-Machine (ULTRA5 sparc64): mount_nfs buildmachine:/usr/5.2/ /usr/5.2 mount_nfs buildmachine:/usr/obj /usr/obj ln -s /usr/5.2/src /usr/src cd /usr/src make MAKEOBJDIRPREFIX=/usr/obj/ installworld error: - cut - Installing everything.. -- cd /usr/5.2/src; make -f Makefile.inc1 install === share/info === include creating osreldate.h from newvers.sh touch: not found *** Error code 127 - cut - or make MAKEOBJDIRPREFIX=/usr/obj/sparc64 installworld - cut - Installing everything.. -- cd /usr/5.2/src; make -f Makefile.inc1 install === share/info === include install -C -o root -g wheel -m 444 /usr/5.2/src/include/a.out.h /usr/5.2/src/include/ar.h /usr/5.2/src/include/assert.h /usr/5.2/src/include/bitstring.h /usr/5.2/src/include/complex.h /usr/5.2/src/include/cpio.h /usr/5.2/src/include/ctype.h /usr/5.2/src/include/db.h /usr/5.2/src/include/dirent.h /usr/5.2/src/include/dlfcn.h /usr/5.2/src/include/elf.h /usr/5.2/src/include/elf-hints.h /usr/5.2/src/include/err.h /usr/5.2/src/include/fmtmsg.h /usr/5.2/src/include/fnmatch.h /usr/5.2/src/include/fstab.h /usr/5.2/src/include/fts.h /usr/5.2/src/include/getopt.h /usr/5.2/src/include/glob.h /usr/5.2/src/include/grp.h /usr/5.2/src/include/hesiod.h /usr/5.2/src/include/histedit.h /usr/5.2/src/include/ieeefp.h /usr/5.2/src/include/ifaddrs.h /usr/5.2/src/include/inttypes.h /usr/5.2/src/include/iso646.h /usr/5.2/src/include/kenv.h /usr/5.2/src/include/langinfo.h /usr/5.2/src/include/libgen.h /usr/5.2/src/include/limits.h /usr/5.2/src/include/link.h /usr/5.2/src/include/locale.h /usr/5.2/src/include/malloc.h /usr/5.2/src/include/memory.h /usr/5.2/src/include/monetary.h /usr/5.2/src/include/mpool.h /usr/5.2/src/include/ndbm.h /usr/5.2/src/include/netconfig.h /usr/5.2/src/include/netdb.h /usr/5.2/src/include/nl_types.h /usr/5.2/src/include/nlist.h /usr/5.2/src/include/nss.h /usr/5.2/src/include/nsswitch.h /usr/5.2/src/include/objformat.h /usr/5.2/src/include/paths.h /usr/5.2/src/include/pthread.h /usr/5.2/src/include/pthread_np.h /usr/5.2/src/include/pwd.h /usr/5.2/src/include/ranlib.h /usr/5.2/src/include/readpassphrase.h /usr/5.2/src/include/regex.h /usr/5.2/src/include/regexp.h /usr/5.2/src/include/resolv.h /usr/5.2/src/include/rune.h /usr/5.2/src/include/runetype.h /usr/5.2/src/include/search.h /usr/5.2/src/include/setjmp.h /usr/5.2/src/include/sgtty.h /usr/5.2/src/include/signal.h /usr/5.2/src/include/stab.h /usr/5.2/src/include/stdbool.h /usr/5.2/src/include/stddef.h /usr/5.2/src/include/stdio.h /usr/5.2/src/include/stdlib.h /usr/5.2/src/include/string.h /usr/5.2/src/include/stringlist.h /usr/5.2/src/include/strings.h /usr/5.2/src/include/sysexits.h /usr/5.2/src/include/tar.h /usr/5.2/src/include/time.h /usr/5.2/src/include/timeconv.h /usr/5.2/src/include/timers.h /usr/5.2/src/include/ttyent.h /usr/5.2/src/include/ulimit.h /usr/5.2/src/include/unistd.h /usr/5.2/src/include/utime.h /usr/5.2/src/include/utmp.h /usr/5.2/src/include/uuid.h /usr/5.2/src/include/varargs.h /usr/5.2/src/include/vis.h /usr/5.2/src/include/wchar.h /usr/5.2/src/include/wctype.h /usr/5.2/src/include/wordexp.h osreldate.h /usr/include install:No such file or directory *** Error code 1 Stop in /usr/5.2/src/include. *** Error code 1 Stop in /usr/5.2/src. *** Error code 1 Stop in /usr/5.2/src. *** Error code 1 Stop in /usr/5.2/src. *** Error code 1 Stop in /usr/5.2/src. - cut - Whats going wrong here or what did I not understand? Regards Soeren ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cross-compiling
Hi all, I have a litte problem. I try to compile the world and the kernel for my sparc64 on a Athlon 700MHz. The buildmachine is FreeBSD 5.1-RELEASE ant the Sparc sould be 5.2.1-RELEASE. I cvsup the source into /usr/5.2. I change to 5.2/src and start the build: make -DNO_KERBEROS TARGET_ARCH=sparc64 buildworld But I read that I should use ARCH=sparc64. But all my buildings doesnt work. So I use the next: make -DNO_KERBEROS TARGET_ARCH=sparc64 CPUTYPE=sparc64 buildwold All the same. I mounted /usr/5.2 to /usr/5.2 on the Sparc64 and do a make -DNO_KERBEROS installworld I also try: make -DNO_KERBEROS TARGET_ARCH=sparc64 installworld On every install I become the following error: - cut - bash-2.05b# make -DNO_KERBEROS installworld mkdir -p /tmp/install.i17oPcSk for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep ln make mkdir mtree mv pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.i17oPcSk; done cd /usr/5.2/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=sparc64 MACHINE=sparc64 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/5.2/src/sparc64/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/5.2/src/sparc64/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/5.2/src/sparc64/legacy/usr/share/tmac PATH=/usr/obj/usr/5.2/src/sparc64/legacy/usr/sbin:/usr/obj/usr/5.2/src/sparc64/legacy/usr/bin:/usr/obj/usr/5.2/src/sparc64/legacy/usr/games:/usr/obj/usr/5.2/src/sparc64/usr/sbin:/usr/obj/usr/5.2/src/sparc64/usr/bin:/usr/obj/usr/5.2/src/sparc64/usr/games:/tmp/install.i17oPcSk make -f Makefile.inc1 reinstall -- Making hierarchy -- cd /usr/5.2/src; make -f Makefile.inc1 hierarchy cd /usr/5.2/src/etc;make distrib-dirs mtree -deU -f /usr/5.2/src/etc/mtree/BSD.root.dist -p / mtree -deU -f /usr/5.2/src/etc/mtree/BSD.var.dist -p /var mtree -deU -f /usr/5.2/src/etc/mtree/BSD.usr.dist -p /usr mtree -deU -f /usr/5.2/src/etc/mtree/BSD.include.dist -p /usr/include mtree -deU -f /usr/5.2/src/etc/mtree/BSD.sendmail.dist -p / cd /; rm -f /sys; ln -s usr/src/sys sys cd /usr/share/man/en.ISO8859-1; ln -sf ../man* . cd /usr/share/man; set - `grep ^[a-zA-Z] /usr/5.2/src/etc/man.alias`; while [ $# -gt 0 ] ; do rm -rf $1; ln -s $2 $1; shift; shift; done cd /usr/share/openssl/man; set - `grep ^[a-zA-Z] /usr/5.2/src/etc/man.alias`; while [ $# -gt 0 ] ; do rm -rf $1; ln -s $2 $1; shift; shift; done cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* . cd /usr/share/nls; set - `grep ^[a-zA-Z] /usr/5.2/src/etc/nls.alias`; while [ $# -gt 0 ] ; do rm -rf $1; ln -s $2 $1; shift; shift; done -- Installing everything.. -- cd /usr/5.2/src; make -f Makefile.inc1 install === share/info === include creating osreldate.h from newvers.sh touch: not found *** Error code 127 Stop in /usr/5.2/src/include. *** Error code 1 Stop in /usr/5.2/src. *** Error code 1 Stop in /usr/5.2/src. *** Error code 1 Stop in /usr/5.2/src. *** Error code 1 Stop in /usr/5.2/src. bash-2.05b# - cut - What is the problem or what I doesnt understand? Regards, Soeren ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cross-compiling
On Mon, Mar 08, 2004 at 01:03:47PM +0100, Soeren Mindorf wrote: I change to 5.2/src and start the build: make -DNO_KERBEROS TARGET_ARCH=sparc64 buildworld That is correct. But I read that I should use ARCH=sparc64. Where did you read this? On every install I become the following error: === include creating osreldate.h from newvers.sh touch: not found *** Error code 127 This error is not specific to cross-building, but it means that 'installworld' couldn't find the OBJDIR that your world was built into. By default this is a subdirectory of /usr/obj: you'll need to mount this on the target as well, and specify its location with MAKEOBJDIRPREFIX. I think this is all documented in a handbook chapter on installing world on another machine via nfs. Kris pgp0.pgp Description: PGP signature
Cross-Compiling 5.2.1 to target PowerPC
Hi, i want to cross-compile FreeBSD 5.2.1 to PowerPC, my host server is an AMD AthlonXP, == i686. How could i does this? -- Thanks Regards Luís Vitório Cargnini Master Degree Student @ PUC-RS Computer Science Bacharelor PUC-RS Pontifícia Universidade Católica - Rio Grande do Sul Brasil pgp0.pgp Description: PGP signature
Re: Cross-Compiling 5.2.1 to target PowerPC
On Sun, Feb 15, 2004 at 11:13:37PM -0300, Lu?s Vit?rio Cargnini wrote: Hi, i want to cross-compile FreeBSD 5.2.1 to PowerPC, my host server is an AMD AthlonXP, == i686. How could i does this? PowerPC is still very much in development, I hope you don't have high expectations of what you'll end up with. You can cross-build a world by setting the ARCH variable. Kris pgp0.pgp Description: PGP signature
Re: cross-compiling Linux apps on FreeBSD
On Wed, Oct 15, 2003 at 05:27:45PM -0400, C. Ulrich wrote: On Tue, 2003-10-14 at 20:38, Kris Kennaway wrote: On Tue, Oct 14, 2003 at 08:04:24PM -0400, C. Ulrich wrote: My conundrum is this: I want to be able to use a Java (and perhaps Flash) plugin with Firebird on my FreeBSD workstation. From what I understand, a native FreeBSD Java web browser plugin doesn't quite exist and isn't likely to in the near future. That's incorrect..there are several. Hrm. After doing some looking around on the mailing lists, I was under the assumption that there weren't or that they were unusable. I'd greatly appreciate it if you could point me to them. Thanks! If you install any of java/jdk13 java/jdk14 java/diablo-jre13 or java/diablo-jdk13 you will find at least: ${JAVA_HOME}/jre/plugin/i386/ns600/libjavaplugin_oji.so ${JAVA_HOME}/jre/plugin/i386/ns600/libjavaplugin_oji_g.so [The latest jdk14 port also has: ${JAVA_HOME}/jre/plugin/i386/ns610/libjavaplugin_oji.so ${JAVA_HOME}/jre/plugin/i386/ns610_g/libjavaplugin_oji_g.so ] Choose which JDK/JRE you want, and whichever version of the plugin you prefer -- the '_g' suffix means unstripped, debug code included -- and make a sym-link to it from /usr/X11R6/lib/browser_plugins: # cd /usr/X11R6/lib/browser_plugins # ln -s ${JAVA_HOME}/jre/plugin/i386/ns610/libjavaplugin_oji.so . (Note that the java/jdk13 and java/jdk14 ports require you to jump through hoops in order to download the source code in order to comply with Sun's licensing terms. They're also fairly huge compilation jobs to install them.) If you install or re-install mozilla and you have the java/jdk13 port already installed it will create such a symlink automatically. Anyhow, fire up mozilla and check that it has registered the plugin using the 'about:plugins' URL. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: cross-compiling Linux apps on FreeBSD
My conundrum is this: I want to be able to use a Java (and perhaps Flash) plugin with Firebird on my FreeBSD workstation. One remark to flash: flash5 is supported by the ports/www/flashpluginwrapper port. Flash6 support is yet to come on FreeBSD 4.x (its still in the beta stage. You will find more information on that issue here: http://freebsd.rambler.ru/bsdmail/freebsd-gnome_2003/msg05230.html http://tmp.ninth-nine.com/LinuxPluginWrapper/ Regards, Simon signature.asc Description: Digital signature
Re: cross-compiling Linux apps on FreeBSD
On Tue, 2003-10-14 at 20:38, Kris Kennaway wrote: On Tue, Oct 14, 2003 at 08:04:24PM -0400, C. Ulrich wrote: Hi, I was wondering if there is any way (preferably an easy way) to build Linux applications from source on FreeBSD with the intention of running them in FreeBSD. It's not completely straightforward, but you can install the linux_devtools port, then chroot to /compat/linux and run /bin/bash, then compile things from there as normal. You'll have to install whatever other packages are needed to compile your software. Thanks! I will definitely look into that. My conundrum is this: I want to be able to use a Java (and perhaps Flash) plugin with Firebird on my FreeBSD workstation. From what I understand, a native FreeBSD Java web browser plugin doesn't quite exist and isn't likely to in the near future. That's incorrect..there are several. Hrm. After doing some looking around on the mailing lists, I was under the assumption that there weren't or that they were unusable. I'd greatly appreciate it if you could point me to them. Thanks! Charles Ulrich -- http://bityard.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cross-compiling Linux apps on FreeBSD
Hi, I was wondering if there is any way (preferably an easy way) to build Linux applications from source on FreeBSD with the intention of running them in FreeBSD. My conundrum is this: I want to be able to use a Java (and perhaps Flash) plugin with Firebird on my FreeBSD workstation. From what I understand, a native FreeBSD Java web browser plugin doesn't quite exist and isn't likely to in the near future. There's a linux-mozillafirebird port in the www ports tree that would let me use the Linux Blackdown Java plugin, but that does not build with GTK2, and thus, cannot utilize anti-aliased fonts. So, I am left to roll my own. I'd like to be able to build Firebird in FreeBSD, but I have a Linux installation that I can use if that's either not possible or not so easy. I suspect that I'll have library issues to deal with, but beyond that I don't really know. I skimmed through all the documentation on FreeBSD.org, but anything dealing with Linux emulation seems to only mention running Linux apps, not building them to work with the Linux emulation layer. Thanks in advance for any suggestions. Charles Ulrich -- http://bityard.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cross-compiling Linux apps on FreeBSD
On Tue, Oct 14, 2003 at 08:04:24PM -0400, C. Ulrich wrote: Hi, I was wondering if there is any way (preferably an easy way) to build Linux applications from source on FreeBSD with the intention of running them in FreeBSD. It's not completely straightforward, but you can install the linux_devtools port, then chroot to /compat/linux and run /bin/bash, then compile things from there as normal. You'll have to install whatever other packages are needed to compile your software. My conundrum is this: I want to be able to use a Java (and perhaps Flash) plugin with Firebird on my FreeBSD workstation. From what I understand, a native FreeBSD Java web browser plugin doesn't quite exist and isn't likely to in the near future. That's incorrect..there are several. kris pgp0.pgp Description: PGP signature
cross-compiling - MIPS
hi! Is it possible to build a crosscompiler to work for mips on freebsd? (not mipsel) if yes, how? any howto`s? -- Med Vennlig Hilsen / Best regards Christer Gundersen / dizzy tun3Z http://dtz.cjb.net - http://carebears.mine.nu To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message