View Single Post
Old 12-09-2009, 05:32 AM   #10
mikmak
Junior Member
mikmak began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Dec 2009
Device: Pocketbook 360, 622, 630
Quote:
Originally Posted by logan View Post
I use the gcc embedded in the SDK, don't I?
Code:
~/PBSDK-linux-libwine-12.5/bin/arm-linux-gcc --version
arm-linux-gcc (GCC) 3.4.1
..
Yes, that's the compiler used for the ARM target (the Pocketbook).
But for the PC, winegcc is used, which in turn uses the compiler you have installed for x86 architectures. You can easily check that by adding the -v flag to the Makefile rule:
Code:
$(OUT): $(CFILES) $(IMGSRC)
        $(CC) -v -o $@ $^ $(INCLUDE) $(LIBDIR) $(LIBS) $(CFLAGS) $(WINEFLAGS)
Quote:
Originally Posted by logan View Post
I notice an important fact: in several files, SDK refers to "/usr/local/pocketbook" as the SDK root. I've create a symlink to point on my SDK location. Removing it, I can't launch any application on SDK 12.5.

Code:
ln -s ~/PBSDK-linux-libwine-12.5/sources/grays /usr/local/pocketbook
I hope it will help you
Man, thanks! That was it... 12.5 works now for me if I create this symlink (quite stupid to have to have that, but whatever).
14.2 still crashes with the same error, but now I can at least figure out what has changed between 12.5 and 14.2 to triage the fault (maybe).
I will come back to that later in the evening...
mikmak is offline   Reply With Quote