Sorry. Here's more info.
1. SDL's test programs fail running on Ubuntu running under parallels
as follows.
% test/testalpha
Couldn't initialize SDL: No available video device
2. Whereas the same test program runs fine on a real linux box
running Ubuntu. Displays a cute little smiley face that waxes and
wanes.
3. gcc-3.3 won't compile under intel osx. No I didn't try to tweak
it or search extensively online to see if there are work-arounds.
Possibly these exist. I have only copied the last 50-100 lines of
output here.
% tar xvf gcc-3.3.tar
% cd gcc-3.3
% mkdir build
% mkdir install
% cd build
% ../configure --enable-languages=c --prefix=/home/me/tmp/gcc-3.3/
install
% make bootstrap
...
echo timestamp > stage1_copy
echo stage2_build > stage_last
make CC=" stage1/xgcc -Bstage1/ -B/Users/timleek/Downloads/gcc-3.3/
install/i686-apple-darwin8.10.2/bin/" \
STAGE_PREFIX=stage1/ \
ADAC="\$(CC)" CFLAGS="-g -O2" LDFLAGS="" WARN_CFLAGS="\$
(GCC_WARN_CFLAGS)" STRICT_WARN="-Wtraditional -pedantic -Wno-long-
long" libdir=/Users/timleek/Downloads/gcc-3.3/install/lib
LANGUAGES="c gcov " MAKEOVERRIDES= OUTPUT_OPTION="-o \$@"
stage1/xgcc -Bstage1/ -B/Users/timleek/Downloads/gcc-3.3/install/i686-
apple-darwin8.10.2/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-
strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -
pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I.
-I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../
include ../../gcc/gengenrtl.c -o gengenrtl.o
/var/tmp//cc2Jaf3q.s:3000:indirect jmp without `*'
/var/tmp//cc2Jaf3q.s:3017:indirect jmp without `*'
/var/tmp//cc2Jaf3q.s:3034:indirect jmp without `*'
/var/tmp//cc2Jaf3q.s:3051:indirect jmp without `*'
/var/tmp//cc2Jaf3q.s:3068:indirect jmp without `*'
/var/tmp//cc2Jaf3q.s:3085:indirect jmp without `*'
/var/tmp//cc2Jaf3q.s:3102:indirect jmp without `*'
/var/tmp//cc2Jaf3q.s:3119:indirect jmp without `*'
/var/tmp//cc2Jaf3q.s:3136:indirect jmp without `*'
/var/tmp//cc2Jaf3q.s:3153:indirect jmp without `*'
stage1/xgcc -Bstage1/ -B/Users/timleek/Downloads/gcc-3.3/install/i686-
apple-darwin8.10.2/bin/ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-
long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -o gengenrtl \
gengenrtl.o ../libiberty/libiberty.a
xgcc: installation problem, cannot exec `c++filt3': No such file or
directory
/usr/bin/ld: Undefined symbols:
__init_keymgr
collect2: ld returned 1 exit status
make[2]: *** [gengenrtl] Error 1
make[1]: *** [stage2_build] Error 2
make: *** [bootstrap] Error 2
On Oct 31, 2007, at 4:06 PM, andrzej zaborowski wrote:
On 31/10/2007, Tim Leek <[EMAIL PROTECTED]> wrote:
I tried using the gcc-3.3 that comes with Xcode 2.4. I don't have
Leopard and so cannot try Xcode 3.0. It did not work on my intel
mac. Also tried downloading gcc-3.3 and recompiling with
configure --enable-languages=c --prefix=blah/blah
make bootstrap
This fails.
Fails how? I think this is what Heikki was asking about. What were the
errors? It would be also curious to see what SDL errors Ubuntu gave. A
report like "This fails." is completely useless.
Regards