[Skyeye-developer] what are the semantics of NO_DBCT=1
Anthony Lee
don.anthony.lee at gmail.com
Thu Nov 8 14:15:39 CST 2007
Hey, the patch attached make it work on Mac OSX x86 10.4.3.
Build Log:
========
~/skyeye-svn-modified anthony$ make NO_BFD=1
--------------------------- NOTICE ------------------------------
If you always get error, please run "make NO_CHECK=1" instead.
-----------------------------------------------------------------
Checking whether host is big endian ... no
Checking gcc ... OK ( gcc version: 4.0.1 )
Checking whether the compiler supports x86 asm ... OK
-----------------------------------------------------------------
gcc -c arch/arm/common/armcopro.c -o binary/armcopro.o -g -O2
-D_FILE_OFFSET_BITS=64 -DSTANDALONE -DDEFAULT_INLINE=0 -DMODET
-DMODET -I arch/arm -I arch/arm/common -I arch/arm/common/mmu -I
arch/arm/mach -I arch/bfin/common -I arch/bfin/mach -I
arch/coldfire/common -I arch/ppc/common -I device -I device/net -I
device/lcd -I device/flash -I device/uart -I device/nandflash -I utils
-I utils/share -I utils/main -I utils/config -I utils/debugger -DARM
-I. -DNO_BFD -DNO_LCD
gcc -c arch/arm/common/armemu.c -o binary/armemu26.o -g -O2
-D_FILE_OFFSET_BITS=64 -DSTANDALONE -DDEFAULT_INLINE=0 -DMODET
-DMODET -I arch/arm -I arch/arm/common -I arch/arm/common/mmu -I
arch/arm/mach -I arch/bfin/common -I arch/bfin/mach -I
arch/coldfire/common -I arch/ppc/common -I device -I device/net -I
device/lcd -I device/flash -I device/uart -I device/nandflash -I utils
-I utils/share -I utils/main -I utils/config -I utils/debugger -DARM
-I. -DNO_BFD -DNO_LCD
gcc -c arch/arm/common/armemu.c -o binary/armemu32.o -DMODE32 -g -O2
-D_FILE_OFFSET_BITS=64 -DSTANDALONE -DDEFAULT_INLINE=0 -DMODET
-DMODET -I arch/arm -I arch/arm/common -I arch/arm/common/mmu -I
arch/arm/mach -I arch/bfin/common -I arch/bfin/mach -I
arch/coldfire/common -I arch/ppc/common -I device -I device/net -I
device/lcd -I device/flash -I device/uart -I device/nandflash -I utils
-I utils/share -I utils/main -I utils/config -I utils/debugger -DARM
-I. -DNO_BFD -DNO_LCD
...
...
gcc -g -O2 -D_FILE_OFFSET_BITS=64 -DSTANDALONE -DDEFAULT_INLINE=0
-DMODET -DMODET -I arch/arm -I arch/arm/common -I arch/arm/common/mmu
-I arch/arm/mach -I arch/bfin/common -I arch/bfin/mach -I
arch/coldfire/common -I arch/ppc/common -I device -I device/net -I
device/lcd -I device/flash -I device/uart -I device/nandflash -I utils
-I utils/share -I utils/main -I utils/config -I utils/debugger -DARM
-I. -DNO_BFD -DNO_LCD -o binary/skyeye binary/skyeye.o \
--start-group -Lbinary -larm -ldev -lutils -lbfin -lcoldfire
-lppc -lmips -lm --end-group
****
**** The binary file located at 'binary/skyeye', enjoy it.
****
~/skyeye-svn-modified anthony$ uname -a
Darwin 244.56.42.59.broad.gz.gd.dynamic.163data.com.cn 8.3.1 Darwin
Kernel Version 8.3.1: Wed Oct 12 00:22:02 PDT 2005;
root:xnu-792.7.42.obj~5/RELEASE_I386 i386 i386
On Nov 8, 2007 5:53 AM, Michael. Kang <blackfin.kang at gmail.com> wrote:
> I have not installed MACOS. I have a quick look the source of
> SkyEye.Maybe some issues existing the following code:
> in arch/arm/dbct/arm2x86.c:
>
> //chy 2005-05-11
> #if !(defined(__CYGWIN__) || defined(__MINGW32__))
> volatile uint32_t arm2x86_pfun;
> #else
> volatile void (*arm2x86_pfun) (void);
> #endif
>
> In different system, maybe function pointer defination is also
> different. I am not sure.
>
>
> -- Thanks
> -- Michael.Kang
>
> On 11/8/07, Marc Hoffman <mmhoffm at gmail.com> wrote:
> > Hi Michael,
> >
> > Strange that I get that compilation error on MACOSX x86 platform do
> > you have any insight into what I should look for?
> >
> > Thanks
> > Marc
> >
> > On 11/7/07, Michael. Kang <blackfin.kang at gmail.com> wrote:
> > > Yes, that is a kind of accelerate method for simulator and can make
> > > our simulator at least double its speed or more.
> > > Now we only implement it in x86 host platform. On any other host
> > > platform, you need to add option "NO_DBCT=1" when you build SkyEye.
> > >
> > > -- Thanks
> > > -- Michael.Kang
> > >
> > > On 11/8/07, Marc Hoffman <mmhoffm at gmail.com> wrote:
> > > > Sorry to ask this it looks like its some special arm feature. It
> > > > seems I need to disable it to use it on the MACOSX platform.
> > > >
> > > > make NO_DBCT=1
> > > >
> > > > seems to create an executable with out any glitches.
> > > >
> > > > make
> > > > ....
> > > > ranlib binary/libmips.a
> > > > gcc -g -O2 -D_FILE_OFFSET_BITS=64 -DSTANDALONE -DDEFAULT_INLINE=0
> > > > -DMODET -DMODET -I arch/arm -I arch/arm/common -I arch/arm/common/mmu
> > > > -I arch/arm/mach -I arch/bfin/common -I arch/bfin/mach -I
> > > > arch/coldfire/common -I arch/ppc/common -I device -I device/net -I
> > > > device/lcd -I device/flash -I device/uart -I device/nandflash -I utils
> > > > -I utils/share -I utils/main -I utils/config -I utils/debugger -DARM
> > > > -I. -DNO_BFD -DNO_LCD -o binary/skyeye binary/skyeye.o \
> > > > --start-group -Lbinary -larm -ldev -lutils -lbfin -lcoldfire
> > > > -lppc -lmips -lm --end-group
> > > > /usr/bin/ld: Undefined symbols:
> > > > arm2x86_pfun
> > > > collect2: ld returned 1 exit status
> > > > make: *** [binary/skyeye] Error 1
> > > > mmh at yoda$
> > > >
> > > > Thanks
> > > > Marc
> > > >
> > > > _______________________________________________
> > > > CLinux.org Websites:
> > > > http://seohelper.cn/
> > > > http://www.implight.net/
> > > > http://gro.clinux.org/
> > > > Skyeye-developer mailing list
> > > > Skyeye-developer at lists.gro.clinux.org
> > > > http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
> > > >
> > >
> > >
> > > --
> > > www.skyeye.org
> > >
> > > _______________________________________________
> > > CLinux.org Websites:
> > > http://seohelper.cn/
> > > http://www.implight.net/
> > > http://gro.clinux.org/
> > > Skyeye-developer mailing list
> > > Skyeye-developer at lists.gro.clinux.org
> > > http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
> > >
> >
> > _______________________________________________
> > CLinux.org Websites:
> > http://seohelper.cn/
> > http://www.implight.net/
> > http://gro.clinux.org/
> > Skyeye-developer mailing list
> > Skyeye-developer at lists.gro.clinux.org
> > http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
> >
> >
>
>
> --
>
> www.skyeye.org
>
> _______________________________________________
> CLinux.org Websites:
> http://seohelper.cn/
> http://www.implight.net/
> http://gro.clinux.org/
> Skyeye-developer mailing list
> Skyeye-developer at lists.gro.clinux.org
> http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: skyeye-r334-macosx86.diff
Type: application/octet-stream
Size: 7764 bytes
Desc: not available
Url : http://lists.gro.clinux.org/pipermail/skyeye-developer/attachments/20071108/65b94b74/skyeye-r334-macosx86.obj
More information about the Skyeye-developer
mailing list