|
Message
From: cvs at opencores.org<cvs@o...>
Date: Sat Jun 24 20:39:22 CEST 2006
Subject: [cvs-checkins] MODIFIED: mb-jpeg ...
Date: 00/06/06 24:20:39 Modified: mb-jpeg system.log system_incl.make system.xmp Log: The shell and reference code are modified to be compiled on both Microblaze and Cygwin on WinXP. 1. To compile on Microblaze, two predefine are used, __MICROBLAZE and __XUPV2P. 2. To compile on Cygwin, use "gcc -std=c99 -o decoder.exe jpegtobmp.c decoder.c" Revision Changes Path 1.4 mb-jpeg/system.log http://www.opencores.org/cvsweb.shtml/mb-jpeg/system.log.diff?r1=1.3&r2=1.4 (In the diff below, changes in quantity of whitespace are not shown.) Index: system.log =================================================================== RCS file: /cvsroot/quickwayne/mb-jpeg/system.log,v retrieving revision 1.3 retrieving revision 1.4 diff -u -b -r1.3 -r1.4 --- system.log 24 Jun 2006 18:02:39 -0000 1.3 +++ system.log 24 Jun 2006 18:39:21 -0000 1.4 @@ -1039,3 +1039,26 @@ Done! +Xilinx Platform Studio (XPS) +Xilinx EDK 8.1 Build EDK_I.18.7 + +Copyright (c) 1995-2006 Xilinx, Inc. All rights reserved. + +At Local date and time: Sat Jun 24 17:38:27 2006 + xbash -q -c "cd /cygdrive/d/mb-jpeg/; /usr/bin/make -f system.make program; exit;" started... + +mb-gcc -O2 decoder/decoder.c -o decoder/executable.elf \ + -Wl,-defsym -Wl,_TEXT_START_ADDR=0x50 -mno-xl-soft-mul -g -I./microblaze_0/include/ -L./microblaze_0/lib/ \ +-D__MICROBLAZE -D__XUPV2P + + +/cygdrive/c/DOCUME~1/S041945/LOCALS~1/Temp/ccmi13bU.o: In function `main': +/cygdrive/d/mb-jpeg/decoder/decoder.c:31: undefined reference to `decode' +collect2: ld returned 1 exit status +make: *** [decoder/executable.elf] Error 1 + + + + +Done! + 1.4 mb-jpeg/system_incl.make http://www.opencores.org/cvsweb.shtml/mb-jpeg/system_incl.make.diff?r1=1.3&r2=1.4 (In the diff below, changes in quantity of whitespace are not shown.) Index: system_incl.make =================================================================== RCS file: /cvsroot/quickwayne/mb-jpeg/system_incl.make,v retrieving revision 1.3 retrieving revision 1.4 diff -u -b -r1.3 -r1.4 --- system_incl.make 24 Jun 2006 18:02:39 -0000 1.3 +++ system_incl.make 24 Jun 2006 18:39:21 -0000 1.4 @@ -112,14 +112,14 @@ # SOFTWARE APPLICATION DECODER ################################################################# -DECODER_SOURCES = decoder/decoder.c decoder/JpegToBmp.c +DECODER_SOURCES = decoder/decoder.c DECODER_HEADERS = DECODER_CC = mb-gcc DECODER_CC_SIZE = mb-size DECODER_CC_OPT = -O2 -DECODER_CFLAGS = +DECODER_CFLAGS = -D__MICROBLAZE -D__XUPV2P DECODER_CC_SEARCH = # -B DECODER_LIBPATH = -L./microblaze_0/lib/ # -L DECODER_INCLUDES = -I./microblaze_0/include/ # -I 1.4 mb-jpeg/system.xmp http://www.opencores.org/cvsweb.shtml/mb-jpeg/system.xmp.diff?r1=1.3&r2=1.4 (In the diff below, changes in quantity of whitespace are not shown.) Index: system.xmp =================================================================== RCS file: /cvsroot/quickwayne/mb-jpeg/system.xmp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -b -r1.3 -r1.4 --- system.xmp 24 Jun 2006 18:02:39 -0000 1.3
+++ system.xmp 24 Jun 2006 18:39:21 -0000 1.4
@@ -38,8 +38,7 @@
Processor: microblaze_0
Executable: decoder/executable.elf
Source: decoder/decoder.c
-Source: decoder/JpegToBmp.c
-DefaultInit: executable
+DefaultInit: EXECUTABLE
InitBram: 1
Active: 1
CompilerOptLevel: 2
@@ -52,4 +51,4 @@
StackSize:
HeapSize:
LinkerScript:
-ProgCCFlags:
+ProgCCFlags: -D__MICROBLAZE -D__XUPV2P
|
 |