The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: what about other architectures?
Author: Dan Langille 
Date:   19-06-03 15:03

The short answer is : don't bother. I asked in a developers channel:

Someone mentioned: make TARGET_ARCH=alpha buildworld

Same person said: I think cross-compiling from a 32-bit to 64-bit arch produces inferior results, at least with gcc. I believe that person shouldn't cross-build to alpha.The speed isn't worth the problems

Another person said: yes, gcc still has cross compile issues with some platforms, where it generates invalid code.. especially with -O and 32->64 bit.... i386(32) -> alpha(64) is notorious. its similar on i386->ia64. the only thing cross world builds are really useful for are testing syntax and bootstrapping. You do NOT want to release from it.

make TARGET_ARCH=alpha buildworld; make installworld DESTDIR=/somewhere TARGET_ARCH=alpha

$ grep TARGET Makefile
# If TARGET_ARCH=arch (e.g. alpha) is specified you can
${MAKE} -f Makefile.upgrade -m ${.CURDIR}/share/mk ${.TARGET}

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 what about other architectures?   new
gill 19-06-03 04:06 
 Re: what about other architectures?   new
Dan Langille 19-06-03 15:03 

 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum