This is the mail archive of the newlib@sourceware.cygnus.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]

Re: Problems compiling newlib-1.8.1 for powerpc-elf (fwd)


daemon@cygnus.com wrote:
From daemon@cygnus.com  Fri Nov 19 11:36:21 1999
From: daemon@cygnus.com
Date: Fri, 19 Nov 1999 08:23:07 -0800 (PST)
Message-Id: <199911191623.IAA09178@cygnus.com>
To: "Schweitz, Eric (E.A.) [EXCHANGE:NCRTP:3X50]" <schweitz@americasm01.nt.com>
Subject: Re: Problems compiling newlib-1.8.1 for powerpc-elf
References: <199911191616.LAA08156@brtphdfb.us.nortel.com>
In-Reply-To: <199911191616.LAA08156@brtphdfb.us.nortel.com>
Precedence: junk
X-Loop: newlib@sourceware.cygnus.com
X-SMTP-HELO: cygnus.com
X-SMTP-MAIL-FROM: daemon@cygnus.com
X-SMTP-RCPT-TO: schweitz@nortelnetworks.com
X-SMTP-PEER-INFO: runyon.cygnus.com [205.180.230.5]

Sorry, I am unable to deliver your mail note to newlib@cygnus.com,
that list name is no longer used.  Please try resending your mail
note to the new list name:  newlib@sourceware.cygnus.com.

If you have any questions about this, send mail to sourcemaster@cygnus.com.
This is a machine-generated message.

Here is a copy of the note you sent.
-----------------------------------------------------------------------------


Ran into the same wall.  I saw no follow-ups to your post in the
newlib list archives.  I hacked it to build using the following:

-----------------------------------------------------------------
--- Makefile.in.trash Fri May 29 18:09:35 1998
+++ ./libgloss/rs6000/Makefile.in    Fri Nov 19 10:37:03 1999
@@ -288,16 +288,31 @@
 sol-syscall.o: sol-syscall.S
 
 close.o: $(srcdir)/../close.c
+       $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS_MRELOCATABLE) -O2 $(INCLUDES) -c $(CFLAGS) $<
 fstat.o: $(srcdir)/../fstat.c
+       $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS_MRELOCATABLE) -O2 $(INCLUDES) -c $(CFLAGS) $<
 getpid.o: $(srcdir)/../getpid.c
+       $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS_MRELOCATABLE) -O2 $(INCLUDES) -c $(CFLAGS) $<
 isatty.o: $(srcdir)/../isatty.c
+       $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS_MRELOCATABLE) -O2 $(INCLUDES) -c $(CFLAGS) $<
 kill.o: $(srcdir)/../kill.c
+       $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS_MRELOCATABLE) -O2 $(INCLUDES) -c $(CFLAGS) $<
 lseek.o: $(srcdir)/../lseek.c
+       $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS_MRELOCATABLE) -O2 $(INCLUDES) -c $(CFLAGS) $<
+read.o: $(srcdir)/../read.c
+       $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS_MRELOCATABLE) -O2 $(INCLUDES) -c $(CFLAGS) $<
+write.o: $(srcdir)/../write.c
+       $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS_MRELOCATABLE) -O2 $(INCLUDES) -c $(CFLAGS) $<
 open.o: $(srcdir)/../open.c
+       $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS_MRELOCATABLE) -O2 $(INCLUDES) -c $(CFLAGS) $<
 putnum.o: $(srcdir)/../putnum.c
+       $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS_MRELOCATABLE) -O2 $(INCLUDES) -c $(CFLAGS) $<
 sbrk.o: $(srcdir)/../sbrk.c
+       $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS_MRELOCATABLE) -O2 $(INCLUDES) -c $(CFLAGS) $<
 stat.o: $(srcdir)/../stat.c
+       $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS_MRELOCATABLE) -O2 $(INCLUDES) -c $(CFLAGS) $<
 unlink.o: $(srcdir)/../unlink.c
+       $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS_MRELOCATABLE) -O2 $(INCLUDES) -c $(CFLAGS) $<
 
 # Don't optimize when compiling the test program, makes confusion in
 # the debugger.
-----------------------------------------------------------------

That seemed to let it build to completion.

-- 
Eric


-- 
Eric

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