This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Porting libgcj...
>>>>> "Scott" == scottb <scottb@netwinder.org> writes:
Scott> int main(int argc, char **argv)
Scott> {
Scott> #if defined(arm) || defined(__arm) || defined(__arm__)
Scott> /* do nothing
Scott> #else
Scott> #error "Not an ARM compiler!"
Scott> #endif
Scott> }
If we're going to do this then we might as well just use a case based
on the canonical host name. It will be faster and easier to
understand.
Scott> What's a Canadian cross? Be nice cause I'm Canadian :).
A Canadian cross is when host, target, and build machines are all
different. I'm told it was named that way because when it was
invented there were 3 major political parties in Canada.
It's a somewhat silly name (you have to explain the history of it
every time you use it), but we're basically stuck with it.
Tom