This is the mail archive of the
mailing list for the newlib project.
re:68000 cross compiler with newlib problems
- From: rcanup at hal-pc dot org
- To: newlib at sourceware dot org
- Date: Sun, 23 Mar 2014 11:15:07 -0500
- Subject: re:68000 cross compiler with newlib problems
- Authentication-results: sourceware.org; auth=none
I am fairly sure that my procedure for building a cross compiler works;
I built an ARM bare metal tool chain using Newlib last night - using the
same procedure (of course with different names).
I just attempted a newlib build using binutils-2.24, newlib-2.1.0 (with
the latest CVS src download), and gcc-4.8.2 and all Ubuntu packages
upgraded. These are all the most current sources I can find. The results
were the same - the first error in the Newlib build (there are many
cascading failures in 2.1.0 after the first error) was from the
assembler making the same complaint about cpu=68000 that I outlined in
my original post.
I note that many of the calls to 'm68k-elf-gcc' (my bootstrap gcc) have
the -mcpu=68000 or -mcpu=68060 or -mcpu=fido construct in them. For some
reason these don't blow up - but only when the last step before using AR
to build the libraries arrives does the assembler complain. Is it
possible that somehow the native 'as' is being called instead of
By the way the '--with-gnu-as' '--with-gnu-ld' flags to the Newlib
configure make no difference in the out come.
I want to thank everyone in for their work on this open source project.
I know how difficult tracking down obscure bugs in a package as large as