Discussion:
gcc_elf
Dave Yeo
2005-03-22 02:51:55 UTC
Permalink
Hi, attempting to compile Xfree86 v4.4 I see errors like this
make[6]: Entering directory `X:/usr/src/xc/lib/font/bitmap/module'
rm -f bdfread.o
gcc_elf -D__UNIXOS2__ -O2 -fstrength-reduce -fpcc-struct-return -I../../../../include/fonts -I../../include -I../../../../programs/Xserver/include -I../../../../exports/include/X11 -I../ -I../../../.. -I../../../../exports/include -DX_LOCALE -DX_WCHAR -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER -DXFree86Server -DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -DFONTMODULE -DBDFFORMAT -DSNFFORMAT -DPCFFORMAT -c bdfread.c
f:/usr/bin/sh.exe: gcc_elf: No such file or directory
make[6]: *** [bdfread.o] Error 1
make[6]: Leaving directory `X:/usr/src/xc/lib/font/bitmap/module'
make[5]: *** [all] Error 2

As gcc303 has no elf support how to work around this?
Dave
Frank Gießler
2005-03-22 07:48:57 UTC
Permalink
Post by Dave Yeo
Hi, attempting to compile Xfree86 v4.4 I see errors like this
make[6]: Entering directory `X:/usr/src/xc/lib/font/bitmap/module'
rm -f bdfread.o
gcc_elf -D__UNIXOS2__ -O2 -fstrength-reduce -fpcc-struct-return -I../../../../include/fonts -I../../include -I../../../../programs/Xserver/include -I../../../../exports/include/X11 -I../ -I../../../.. -I../../../../exports/include -DX_LOCALE -DX_WCHAR -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER -DXFree86Server -DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -DFONTMODULE -DBDFFORMAT -DSNFFORMAT -DPCFFORMAT -c bdfread.c
f:/usr/bin/sh.exe: gcc_elf: No such file or directory
make[6]: *** [bdfread.o] Error 1
make[6]: Leaving directory `X:/usr/src/xc/lib/font/bitmap/module'
make[5]: *** [all] Error 2
As gcc303 has no elf support how to work around this?
Dave
It's part of Holger's emxtree.zip. This was downloadable from the old
XFree86/OS2 webpages that seem to be gone once again
(http://xfreeos2.dyndns.org now gives me a webmail login for Fraunhofer
AIS). I can give you a copy if you want (60 MB).

Frank.
--
Frank Giessler
Klinikum der Universitaet Jena Tel.: +49-3641-9 32 57 80
Biomagnetisches Zentrum Fax : +49-3641-9 32 57 72
Holger Veit
2005-03-22 08:37:05 UTC
Permalink
Post by Frank Gießler
Post by Dave Yeo
Hi, attempting to compile Xfree86 v4.4 I see errors like this
make[6]: Entering directory `X:/usr/src/xc/lib/font/bitmap/module'
rm -f bdfread.o
gcc_elf -D__UNIXOS2__ -O2 -fstrength-reduce -fpcc-struct-return
-I../../../../include/fonts -I../../include
-I../../../../programs/Xserver/include
-I../../../../exports/include/X11 -I../ -I../../../..
-I../../../../exports/include -DX_LOCALE -DX_WCHAR -DSHAPE -DXINPUT
-DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT
-DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR -DGCCUSESGAS
-DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension
-DXFree86LOADER -DXFree86Server -DXF86VIDMODE -DXvMCExtension
-DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension
-DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -DFUNCPROTO=15
-DNARROWPROTO -DIN_MODULE -DXFree86Module -DFONTMODULE -DBDFFORMAT
-DSNFFORMAT -DPCFFORMAT -c bdfread.c
f:/usr/bin/sh.exe: gcc_elf: No such file or directory
make[6]: *** [bdfread.o] Error 1
make[6]: Leaving directory `X:/usr/src/xc/lib/font/bitmap/module'
make[5]: *** [all] Error 2
As gcc303 has no elf support how to work around this?
Dave
It's part of Holger's emxtree.zip. This was downloadable from the old
XFree86/OS2 webpages that seem to be gone once again
(http://xfreeos2.dyndns.org now gives me a webmail login for
Fraunhofer AIS). I can give you a copy if you want (60 MB).
Yes, that (webmail) is some misconfiguration of that webserver. Go to
ftp.ais.fraunhofer.de/pub/misc/XFree86OS2 to find the old FTP repository.
Go to http://lists2.ais.fraunhofer.de/pipermail/xfreeos2 (or /emx resp.)
to find the mailinglist archives.

Regards
Holger
Holger Veit
2005-03-22 08:33:37 UTC
Permalink
Post by Dave Yeo
Hi, attempting to compile Xfree86 v4.4 I see errors like this
make[6]: Entering directory `X:/usr/src/xc/lib/font/bitmap/module'
rm -f bdfread.o
gcc_elf -D__UNIXOS2__ -O2 -fstrength-reduce -fpcc-struct-return -I../../../../include/fonts -I../../include -I../../../../programs/Xserver/include -I../../../../exports/include/X11 -I../ -I../../../.. -I../../../../exports/include -DX_LOCALE -DX_WCHAR -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER -DXFree86Server -DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -DFONTMODULE -DBDFFORMAT -DSNFFORMAT -DPCFFORMAT -c bdfread.c
f:/usr/bin/sh.exe: gcc_elf: No such file or directory
make[6]: *** [bdfread.o] Error 1
make[6]: Leaving directory `X:/usr/src/xc/lib/font/bitmap/module'
make[5]: *** [all] Error 2
As gcc303 has no elf support how to work around this?
Dave
gcc_elf is required to build modules that are compatible with the other
platforms of XFree86. There is so far no gcc_elf port for 3.x, only the
old gcc 2.x-elf/OS2 that I once built. You can still find binaries under
ftp.ais.fraunhofer.de/pub/misc/XFree86OS2/test/elf291.zip.

Regards
Holger
Dave Yeo
2005-03-24 16:21:14 UTC
Permalink
Post by Holger Veit
gcc_elf is required to build modules that are compatible with the other
platforms of XFree86. There is so far no gcc_elf port for 3.x, only the
old gcc 2.x-elf/OS2 that I once built. You can still find binaries under
ftp.ais.fraunhofer.de/pub/misc/XFree86OS2/test/elf291.zip.
Ok, managed to login (this morning (PST) I seemed to of crashed the server doing a dir
in ncftp) and am now wgetting elf291.zip. Strange that I never heard of this requirement
before <gr>
BTW GCC 3.3.5 includes ELF support though I did have to rename a few things from
*-elf to *_elf. Seems to compile the modules fine. Now if only I had the skill to rewrite
os2_select <gr>
Dave

Loading...