Hi guys,
Has anyone successfully set up the Prizm SDK on a MAC?
After I learning the Prizm SDK using the windows v0.3 SDK, I started working on putting together instructions to set up a Prizm build environment on the mac, based on Jonimoose/libfxcg. Almost there.
I am following the linux setup instructions on the wiki.
So I cloned Jonimoose/libfxcg from github on my mac. went thru the instructions and compiled the binutils, gcc, mkg3a packages (bringing other required packages using brew). Then I compiled the libfxcg and libc. all went thru ok.
now I can compile the "example" project from the V0.3 SDK, but when I add libc, I get the following errors. Compiling the library itself didn't give me any errors.
I'm going to continue to look into it, but if anybody has any suggestions, ideas I will appreciate.
thanks,
Currently I am using binutils-2.2.6, gcc-5.3.0 (latest as of today).
I tried other binutils (2.22) or gcc (4.6.2, 4.6.3) as mentioned on the wiki, but no luck.
Code:
Has anyone successfully set up the Prizm SDK on a MAC?
After I learning the Prizm SDK using the windows v0.3 SDK, I started working on putting together instructions to set up a Prizm build environment on the mac, based on Jonimoose/libfxcg. Almost there.
I am following the linux setup instructions on the wiki.
So I cloned Jonimoose/libfxcg from github on my mac. went thru the instructions and compiled the binutils, gcc, mkg3a packages (bringing other required packages using brew). Then I compiled the libfxcg and libc. all went thru ok.
now I can compile the "example" project from the V0.3 SDK, but when I add libc, I get the following errors. Compiling the library itself didn't give me any errors.
I'm going to continue to look into it, but if anybody has any suggestions, ideas I will appreciate.
thanks,
Currently I am using binutils-2.2.6, gcc-5.3.0 (latest as of today).
I tried other binutils (2.22) or gcc (4.6.2, 4.6.3) as mentioned on the wiki, but no luck.
Code:
prizm-gcc main.o -mb -m4a-nofpu -mhitachi -nostdlib -T/Users/atilla457/Documents/3_Projects/calculators/libfxcg/common/prizm.ld -Wl,-static -Wl,-gc-sections -L/Users/atilla457/Documents/3_Projects/calculators/libfxcg/lib -lfxcg -lgcc -lc -o /Users/atilla457/Documents/3_Projects/calculators/libfxcg/projects/hello/hello.bin
/Users/atilla457/Documents/3_Projects/calculators/libfxcg/lib/libc.a(stdlib.o): In function `strtod':
/Users/atilla457/Documents/3_Projects/calculators/libfxcg/libc/stdlib.c:160: undefined reference to `___muldf3'
/Users/atilla457/Documents/3_Projects/calculators/libfxcg/libc/stdlib.c:160: undefined reference to `___floatsidf'
/Users/atilla457/Documents/3_Projects/calculators/libfxcg/libc/stdlib.c:160: undefined reference to `___adddf3'
/Users/atilla457/Documents/3_Projects/calculators/libfxcg/libc/stdlib.c:160: undefined reference to `___floatsisf'
/Users/atilla457/Documents/3_Projects/calculators/libfxcg/libc/stdlib.c:160: undefined reference to `___divsf3'
/Users/atilla457/Documents/3_Projects/calculators/libfxcg/libc/stdlib.c:160: undefined reference to `___extendsfdf2'
/Users/atilla457/Documents/3_Projects/calculators/libfxcg/libc/stdlib.c:160: undefined reference to `___mulsf3'
/Users/atilla457/Documents/3_Projects/calculators/libfxcg/lib/libc.a(printf.o): In function `_v_printf':
/Users/atilla457/Documents/3_Projects/calculators/libfxcg/libc/printf.c:291: undefined reference to `___movmemSI12_i4'
collect2: error: ld returned 1 exit status
make[1]: *** [/Users/atilla457/Documents/3_Projects/calculators/libfxcg/projects/hello/hello.bin] Error 1
make: *** [build] Error 2