> Hello,
> I am a newman for Pgui, when i compile pgserver with m68k-pic-coff
> toolschain. the compiler will generate error code for "in-direct
> pointer" codes, somebody call this is "const* char" problem.
> example:hello.c
>
> #include <stdio.h>
> const char* hello = "hello, world";
> //or char* hello = "hello, world";
> int main()
> {
> printf("%s\n", hello);
> }
> result is nothing.
Yes don't remember exactely the problem, but it seems that uClinux has
some problem with constant global variables
> so , if had to modify some codes of pgserver such as font/fonts.c
mmmm ... I think that font/fonts.c is a generated file
> theme's codes to avoid use "const" and some table. It can run, look
> well, but i worry about there are some place that i don't notice. so
> i ask people in uclinux.org's maillist, they say i should use elf
> compiler. But when i come to here , I find the people same use the
> PIC compiler?? Did right ? Any body can tell me what's wrong of me ?
>
> I had patched Eriwin's 32bit patch.
>
> BTW, Minh, did you had resolved the -fPIC problem ? just patch the
> 32bit patch is OK.
>
> thanks very much.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel