Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] TinyX woes...
@ 2007-08-13 20:29 Ulf Samuelsson
  2007-08-13 20:37 ` Ulf Samuelsson
  2007-08-13 20:56 ` Ivan Kuten
  0 siblings, 2 replies; 6+ messages in thread
From: Ulf Samuelsson @ 2007-08-13 20:29 UTC (permalink / raw)
  To: buildroot

TinyX currently is built using
make $(TARGET_CONFIGURE_OPTS) World
but this fails miserably for ARM.

Some utilities are then built using the cross compiler
and when executed on the host, they obviously fail on non-X-86 targets.

I tried a patch which forces the use of HOSTCC for make,
but there are some temp files ("/tmp/xxxx") which are executed
and fails since they are built using the cross compiler.

TinyX seems to rely on WCHAR support, since it uses
MB_CHAR_MAX (The largest size of a character)
which only seems to be visible in the headers if 
UCLIBC_USE_WCHAR is set.

Some files seems to include header files, only present on X86.
"asm/mtrr.h" and "asm/io.h".

The cross.def file defining the environment for X Cross compilation
is updated by tinyx.mk but there seems to be things lacking.

Is there ANYONE which manages to build tinyx for x86 at the moment?
Is there ANYONE which manages to build it for another target (I.E: ARM)?

Best Regards
Ulf Samuelsson

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] TinyX woes...
  2007-08-13 20:29 [Buildroot] TinyX woes Ulf Samuelsson
@ 2007-08-13 20:37 ` Ulf Samuelsson
  2007-08-13 20:56 ` Ivan Kuten
  1 sibling, 0 replies; 6+ messages in thread
From: Ulf Samuelsson @ 2007-08-13 20:37 UTC (permalink / raw)
  To: buildroot

m?n 2007-08-13 klockan 22:29 +0200 skrev Ulf Samuelsson:
> TinyX currently is built using
> make $(TARGET_CONFIGURE_OPTS) World
> but this fails miserably for ARM.
> 
> Some utilities are then built using the cross compiler
> and when executed on the host, they obviously fail on non-X-86 targets.
> 
> I tried a patch which forces the use of HOSTCC for make,
> but there are some temp files ("/tmp/xxxx") which are executed
> and fails since they are built using the cross compiler.
> 
> TinyX seems to rely on WCHAR support, since it uses
> MB_CHAR_MAX (The largest size of a character)

Sorry, that was MB_CUR_MAX

BR
Ulf

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] TinyX woes...
  2007-08-13 20:29 [Buildroot] TinyX woes Ulf Samuelsson
  2007-08-13 20:37 ` Ulf Samuelsson
@ 2007-08-13 20:56 ` Ivan Kuten
  2007-08-14  5:34   ` Hebbar
  1 sibling, 1 reply; 6+ messages in thread
From: Ivan Kuten @ 2007-08-13 20:56 UTC (permalink / raw)
  To: buildroot

Ulf Samuelsson ?????:
> TinyX currently is built using
> make $(TARGET_CONFIGURE_OPTS) World
> but this fails miserably for ARM.
> 
> Some utilities are then built using the cross compiler
> and when executed on the host, they obviously fail on non-X-86 targets.
> 
> I tried a patch which forces the use of HOSTCC for make,
> but there are some temp files ("/tmp/xxxx") which are executed
> and fails since they are built using the cross compiler.
> 
> TinyX seems to rely on WCHAR support, since it uses
> MB_CHAR_MAX (The largest size of a character)
> which only seems to be visible in the headers if 
> UCLIBC_USE_WCHAR is set.
> 
> Some files seems to include header files, only present on X86.
> "asm/mtrr.h" and "asm/io.h".
> 
> The cross.def file defining the environment for X Cross compilation
> is updated by tinyx.mk but there seems to be things lacking.
> 
> Is there ANYONE which manages to build tinyx for x86 at the moment?
> Is there ANYONE which manages to build it for another target (I.E: ARM)?
> 
> Best Regards
> Ulf Samuelsson
> 

Hello Ulf,

TinyX (kdrive) from http://intimate.handhelds.org/jacques/ seems to be very outdated ( dated by 2002 ).

Most of ARM embedded people use kdrive implementation for Xorg X11R7.x
(from openembedded.org).

GTK2 is not building with TinyX because of cairo requires new API (Xrender).
May be GTK-1.2 could be build but I never tried.

However TinyX build for arm was succeeded for me however not tested on target.
(i'm using uclibc with wchar and locale support).

Best regards,
Ivan


> 
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] TinyX woes...
  2007-08-13 20:56 ` Ivan Kuten
@ 2007-08-14  5:34   ` Hebbar
  2007-08-14  9:37     ` vano
  0 siblings, 1 reply; 6+ messages in thread
From: Hebbar @ 2007-08-14  5:34 UTC (permalink / raw)
  To: buildroot


Hi Ivan 

 I am also working on ARM on arm926ejs. Since 3 weeks i am finding it too
difficult to get ahead of building libglib2. it stops with error on
libintl.h which is deleted by uclibc. I really want to build a gtk with
buildroot but its to going ahead. i enabled locale & wchar and used
uclinc-9.29.0-wchar.config but it still failed at libglib2 stage. so can u
share ur buildroot config file & uclinc config files and details of any
changes u have done with buildroot. this will really be a gr8 help to me.
also what buildroot version or snapshot did u try.

Regards
Gururaja

Regards
Gururaja
-- 
View this message in context: http://www.nabble.com/TinyX-woes...-tf4263243.html#a12138977
Sent from the BuildRoot mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] TinyX woes...
  2007-08-14  5:34   ` Hebbar
@ 2007-08-14  9:37     ` vano
  2007-08-14 12:05       ` Hebbar
  0 siblings, 1 reply; 6+ messages in thread
From: vano @ 2007-08-14  9:37 UTC (permalink / raw)
  To: buildroot

Hebbar wrote:

> Hi Ivan 
> 
>  I am also working on ARM on arm926ejs. Since 3 weeks i am finding it too
> difficult to get ahead of building libglib2. it stops with error on
> libintl.h which is deleted by uclibc. I really want to build a gtk with
> buildroot but its to going ahead. i enabled locale & wchar and used
> uclinc-9.29.0-wchar.config but it still failed at libglib2 stage. so can u
> share ur buildroot config file & uclinc config files and details of any
> changes u have done with buildroot. this will really be a gr8 help to me.
> also what buildroot version or snapshot did u try.
> 

Please post you error messages and config.log regarding glib2.
I did nothing special except enabling locale.

If it helps my uclibc config in the attachment.

BR,
Ivan


> Regards
> Gururaja
> 
> Regards
> Gururaja

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: uclibc-config-locale
Url: http://busybox.net/lists/buildroot/attachments/20070814/d7986349/attachment.diff 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] TinyX woes...
  2007-08-14  9:37     ` vano
@ 2007-08-14 12:05       ` Hebbar
  0 siblings, 0 replies; 6+ messages in thread
From: Hebbar @ 2007-08-14 12:05 UTC (permalink / raw)
  To: buildroot


Hi Ivan

  Thanks for uclibc config. can u share the buildroot .config also. You can
check my posts at
http://www.nabble.com/Kindly-help-me-to-build-glib2-on-arm926-platform-tf4222891.html 
&
http://www.nabble.com/libglib2-build-fails-with-missing-libintl.h-for-arm926ejs-toolchain-tf4204156.html
for detailed explanation. 

Regards
Gururaja
-- 
View this message in context: http://www.nabble.com/TinyX-woes...-tf4263243.html#a12143211
Sent from the BuildRoot mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-08-14 12:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-13 20:29 [Buildroot] TinyX woes Ulf Samuelsson
2007-08-13 20:37 ` Ulf Samuelsson
2007-08-13 20:56 ` Ivan Kuten
2007-08-14  5:34   ` Hebbar
2007-08-14  9:37     ` vano
2007-08-14 12:05       ` Hebbar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox