OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

Profile
Personal Photo
Options
Options
Personal Statement
Neo-Rio doesn't have a personal statement currently.
Personal Info
Neo-Rio
Age Unknown
Gender Not Set
Location Unknown
Birthday Unknown
Interests
No Information
Statistics
Joined: 24-September 05
Profile Views: 100*
Last Seen: 15th November 2005 - 12:15 AM
Local Time: Dec 18 2014, 04:15 PM
3 posts (0 per day)
Contact Information
AIM No Information
Yahoo No Information
ICQ No Information
MSN No Information
Contact Private
* Profile views updated each hour

Neo-Rio

Members


Topics
Posts
Comments
Friends
My Content
14 Oct 2005
I just finished compiling VICE, the Commodore 64 emulator for my SL-C3000

However, the thing runs painfully slow (actually, so does PrBoom but at least that is playable)

What do I do to make compiled programs run faster. Are there any special optimizations that I can do during configure ? I am running the Sharp original ROM with Qtopia as I got the machine. Will putting in a new ROM speed things up - the screen refresh on the Zaurus seems sluggish.
24 Sep 2005
OK, I'm new to cross-compiling things, but I managed to get the Zaurus development environment up and going. I've managed to get the example.pro thing developed and working.... so I know I'm on the right track.

Now I want to try and get VICE (the Commodore 64 emulator) compiled for X/Qt.
The problem is, how the hell do I do this?

so far, what I've done is to source the dev-arm-qpe.sh file, and then start compilation like this:-

CODE
CC="arm-linux-gcc" ./configure --host=arm-linux --build=i386


And that produces the following... but as you can see, certain things aren't working....

CODE
checking for a BSD-compatible install... /usr/bin/install -c

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-strip... arm-linux-strip
checking build system type... i386-pc-none
checking host system type... arm-unknown-linux
no explicit checking for XFree86 fullscreen requested, disabling fullscreen...
using TextField widget.
checking for arm-linux-gcc... arm-linux-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-linux-gcc accepts -g... yes
checking for arm-linux-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of arm-linux-gcc... gcc
checking for arm-linux-gcc... (cached) arm-linux-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether arm-linux-gcc accepts -g... (cached) yes
checking for arm-linux-gcc option to accept ANSI C... (cached) none needed
checking dependency style of arm-linux-gcc... (cached) gcc
checking how to run the C preprocessor... /lib/cpp
checking for ar... ar
checking for arm-linux-ranlib... arm-linux-ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking lex output file root... lex.yy
checking whether yytext is a pointer... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... no
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for perl... /usr/bin/perl
checking for c++... c++
checking for arm-linux-g++... arm-linux-g++
checking whether we are using the GNU C++ compiler... yes
checking whether arm-linux-g++ accepts -g... yes
checking dependency style of arm-linux-g++... gcc
checking whether the C++ compiler (arm-linux-g++ -g -O2 -finline-functions -Wall -Wstrict-prototypes -Winline -fno-exceptions ) works... yes
checking how to run the C++ preprocessor... /lib/cpp
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for unsigned short... yes
checking size of unsigned short... 2
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking whether arm-linux-gcc needs -traditional... no
checking for dirent.h that defines DIR... no
checking for sys/ndir.h that defines DIR... no
checking for sys/dir.h that defines DIR... no
checking for ndir.h that defines DIR... no
checking for library containing opendir... none required
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking errno.h usability... no
checking errno.h presence... yes
configure: WARNING: errno.h: present but cannot be compiled
configure: WARNING: errno.h: check for missing prerequisite headers?
configure: WARNING: errno.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... no
checking limits.h presence... yes
configure: WARNING: limits.h: present but cannot be compiled
configure: WARNING: limits.h: check for missing prerequisite headers?
configure: WARNING: limits.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for limits.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for unistd.h... (cached) yes
checking sys/dirent.h usability... no
checking sys/dirent.h presence... no
checking for sys/dirent.h... no
checking sys/ioctl.h usability... no
checking sys/ioctl.h presence... yes
configure: WARNING: sys/ioctl.h: present but cannot be compiled
configure: WARNING: sys/ioctl.h: check for missing prerequisite headers?
configure: WARNING: sys/ioctl.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for sys/ioctl.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking dir.h usability... no
checking dir.h presence... no
checking for dir.h... no
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking signal.h usability... no
checking signal.h presence... yes
configure: WARNING: signal.h: present but cannot be compiled
configure: WARNING: signal.h: check for missing prerequisite headers?
configure: WARNING: signal.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for signal.h... yes
checking ffmpeg/avformat.h usability... no
checking ffmpeg/avformat.h presence... no
checking for ffmpeg/avformat.h... no
checking commctrl.h usability... no
checking commctrl.h presence... no
checking for commctrl.h... no
checking shlobj.h usability... no
checking shlobj.h presence... no
checking for shlobj.h... no
checking winioctl.h usability... no
checking winioctl.h presence... no
checking for winioctl.h... no
checking for regexp.h... yes
checking whether sys_siglist is declared... no
checking linux/joystick.h usability... no
checking linux/joystick.h presence... yes
configure: WARNING: linux/joystick.h: present but cannot be compiled
configure: WARNING: linux/joystick.h: check for missing prerequisite headers?
configure: WARNING: linux/joystick.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for linux/joystick.h... yes
checking whether linux/joystick.h supports digital joysticks... no
checking machine/joystick.h usability... no
checking machine/joystick.h presence... no
checking for machine/joystick.h... no
checking for hid_get_report_desc in -lusbhid... no
checking for sinf in -lm... yes
checking zlib.h usability... no
checking zlib.h presence... yes
configure: WARNING: zlib.h: present but cannot be compiled
configure: WARNING: zlib.h: check for missing prerequisite headers?
configure: WARNING: zlib.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for zlib.h... yes
checking for zlibVersion in -lz... no
checking cwsid.h usability... no
checking cwsid.h presence... no
checking for cwsid.h... no
checking linux/soundcard.h usability... no
checking linux/soundcard.h presence... yes
configure: WARNING: linux/soundcard.h: present but cannot be compiled
configure: WARNING: linux/soundcard.h: check for missing prerequisite headers?
configure: WARNING: linux/soundcard.h: proceeding with the preprocessor's resultconfigure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for linux/soundcard.h... yes
checking dmedia/audio.h usability... no
checking dmedia/audio.h presence... no
checking for dmedia/audio.h... no
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking esd.h usability... no
checking esd.h presence... no
checking for esd.h... no
checking UMS/UMSAudioDevice.h usability... no
checking UMS/UMSAudioDevice.h presence... no
checking for UMS/UMSAudioDevice.h... no
checking for ALseterrorhandler in -laudio... no
checking for UMSAudioDevice_initialize in -lUMSobj... no
checking for esd_open_sound in -lesd... no
checking return type of signal handlers... int
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... no
checking for vfork... no
checking for gettimeofday... no
checking for memmove... no
checking for atexit... no
checking for strerror... no
checking for strcasecmp... no
checking for strncasecmp... no
checking for usleep... no
checking for readline in -lreadline... no
checking for readline in -lreadline... no
checking for readline in -lreadline... no
checking png.h usability... no
checking png.h presence... yes
configure: WARNING: png.h: present but cannot be compiled
configure: WARNING: png.h: check for missing prerequisite headers?
configure: WARNING: png.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for png.h... yes
checking for png_check_sig in -lpng... no
checking for png_check_sig in -lpng... no
checking for X... libraries /usr/X11R6/lib, headers
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... no
checking for remove... no
checking for remove in -lposix... no
checking for shmat... no
checking for shmat in -lipc... no
checking for IceConnectionNumber in -lICE... no
checking for gethostbyname in -lsocket... no
checking for IceConnectionNumber in -lICE... (cached) no
checking for SmFreeProperty in -lSM... no
checking for XCreateWindow in -lX11... no
checking for XQueryExtension in -lXext... no
checking for XvQueryExtension in -lXv... no
checking for XtToolkitInitialize in -lXt... no
checking for XInternAtom in -lXmu... no
checking for XawFormDoLayout in -lXaw... no
checking for X11/extensions/XShm.h... no
checking for XpmCreatePixmapFromData in -lXpm... no

+++ Warning: the following important X11 libraries were not found:  X11 Xt Xmu Xaw
+++ You might have to edit the Makefile by hand to compile properly

checking X11/Sunkeysym.h usability... no
checking X11/Sunkeysym.h presence... yes
configure: WARNING: X11/Sunkeysym.h: present but cannot be compiled
configure: WARNING: X11/Sunkeysym.h: check for missing prerequisite headers?
configure: WARNING: X11/Sunkeysym.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for X11/Sunkeysym.h... yes
checking X11/xpm.h usability... no
checking X11/xpm.h presence... yes
configure: WARNING: X11/xpm.h: present but cannot be compiled
configure: WARNING: X11/xpm.h: check for missing prerequisite headers?
configure: WARNING: X11/xpm.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for X11/xpm.h... yes
checking opencbm.h usability... no
checking opencbm.h presence... no
checking for opencbm.h... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating data/C128/Makefile
config.status: creating data/C64/Makefile
config.status: creating data/CBM-II/Makefile
config.status: creating data/DRIVES/Makefile
config.status: creating data/PET/Makefile
config.status: creating data/PLUS4/Makefile
config.status: creating data/PRINTER/Makefile
config.status: creating data/VIC20/Makefile
config.status: creating data/fonts/Makefile
config.status: creating doc/Makefile
config.status: creating doc/html/Makefile
config.status: creating man/Makefile
config.status: creating src/Makefile
config.status: creating src/arch/Makefile
config.status: creating src/arch/beos/Makefile
config.status: creating src/arch/msdos/Makefile
config.status: creating src/arch/os2/Makefile
config.status: creating src/arch/os2/dialogs/Makefile
config.status: creating src/arch/os2/kbd/Makefile
config.status: creating src/arch/os2/snippets/Makefile
config.status: creating src/arch/os2/vac++/Makefile
config.status: creating src/arch/riscos/Makefile
config.status: creating src/arch/unix/Makefile
config.status: creating src/arch/unix/readline/Makefile
config.status: creating src/arch/unix/x11/Makefile
config.status: creating src/arch/unix/x11/gnome/Makefile
config.status: creating src/arch/unix/x11/xaw/Makefile
config.status: creating src/arch/unix/x11/xaw/widgets/Makefile
config.status: creating src/arch/win32/Makefile
config.status: creating src/c128/Makefile
config.status: creating src/c64/Makefile
config.status: creating src/c64/cart/Makefile
config.status: creating src/cbm2/Makefile
config.status: creating src/core/Makefile
config.status: creating src/crtc/Makefile
config.status: creating src/diskimage/Makefile
config.status: creating src/drive/Makefile
config.status: creating src/drive/iec/Makefile
config.status: creating src/drive/iec128dcr/Makefile
config.status: creating src/drive/iecieee/Makefile
config.status: creating src/drive/ieee/Makefile
config.status: creating src/drive/tcbm/Makefile
config.status: creating src/fileio/Makefile
config.status: creating src/fsdevice/Makefile
config.status: creating src/gfxoutputdrv/Makefile
config.status: creating src/iecbus/Makefile
config.status: creating src/imagecontents/Makefile
config.status: creating src/monitor/Makefile
config.status: creating src/parallel/Makefile
config.status: creating src/pet/Makefile
config.status: creating src/plus4/Makefile
config.status: creating src/printerdrv/Makefile
config.status: creating src/raster/Makefile
config.status: creating src/rs232drv/Makefile
config.status: creating src/serial/Makefile
config.status: creating src/sid/Makefile
config.status: creating src/sounddrv/Makefile
config.status: creating src/tape/Makefile
config.status: creating src/vdc/Makefile
config.status: creating src/vdrive/Makefile
config.status: creating src/vic20/Makefile
config.status: creating src/vicii/Makefile
config.status: creating src/video/Makefile
config.status: creating src/version.h
config.status: creating po/Makefile.in
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
configure: configuring in src/resid
configure: running /bin/sh './configure' --prefix=/usr/local  '--host=arm-linux' '--build=i386' 'CC=arm-linux-gcc' 'build_alias=i386' 'host_alias=arm-linux' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-strip... arm-linux-strip
checking for arm-linux-g++... arm-linux-g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether arm-linux-g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of arm-linux-g++... gcc
checking whether the C++ compiler (arm-linux-g++ -g -Wall -O2 -funroll-loops -fomit-frame-pointer -fno-exceptions ) works... yes
checking for arm-linux-ranlib... arm-linux-ranlib
checking for perl... /usr/bin/perl
checking how to run the C++ preprocessor... /lib/cpp
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for int... yes
checking size of int... 4
checking for working bool... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating siddefs.h
config.status: executing depfiles commands


So obviously, certain things aren't getting configured (seemingly the same things which there are seperate ipk's for e.g. zlib, X, libpng, etc. ). Good news is that arm-linux-ranlib gets called, and it spots the compilers OK.

Another thing which is interesting is :-

CODE
checking how to run the C++ preprocessor... /lib/cpp


Which calls /usr/bin/cpp, although I know that there is an arm equivalent in /opt/Embedix/tools/lib/gcc-lib/arm-linux/2.95.2

although trying to configure with CPP="/opt/Embedix/tools/lib/gcc-lib/arm-linux/2.95.2/cpp" just causes configure's death.

I'm really new to all this so any help would be spunky. I can compile no problems normally with this code on my RedHat machine, but when I go crosscompiling things get hairy.

Cheers
Last Visitors
Neo-Rio has no visitors to display.

Comments
Other users have left no comments for Neo-Rio.

Friends
There are no friends to display.
RSS Lo-Fi Version Time is now: 17th December 2014 - 11:15 PM