This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: newlib-1.10.0 compile for m68k-unknown-elf


James Roth wrote:
> 
> Hi,
> 
>     I'm attempting to compile newlib for a 68331 board with no OS.  The
> c compiler is working and I can run code on the board.  See configure
> and make output in the attachment.  I am using m68k-unknown-elf as my
> target.  My m68k-unknown-elf-gcc is version 2.95.3.  It looks like one
> of the configure scripts is trying to compile an executable with a cross
> compiler.
> 
> --
> James Roth
> Shugyo Design Technologies
> http://www.shugyodesign.com/
> 
>   ------------------------------------------------------------------------------------------------------------------------------------------------------
>                      Name: typescript.txt
>    typescript.txt    Type: Plain Text (text/plain)
>                  Encoding: 7bit


James,

  You are configuring in the source directory.  This is not supported.  You must create a
separate build directory, cd to it, and issue:

  ${your_srcdir}/configure --prefix=`pwd` --target=m68k-unknown-elf

-- Jeff J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]