Kylix Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
카일릭스 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
자유게시판
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

카일릭스 팁&트릭
[16] Redhat9.0에서 Kylix C++ 컴파일 에러 해결할수 있는 패치입니다.
장석우 [jhanglim] 18486 읽음    2003-11-13 19:06
Redhat9.0 사용 하시는분 패치하세요!!

Subject: ANN: Kylix 3 Patch Suite
From: Andreas Hausladen <NoMailAndreasDotHausladen@gmx.de>
Newsgroups: borland.public.kylix.distros-compatibility

How can I write programs with such a buggy IDE? - A lot of people ask this
question. It is not easy to develop with an IDE that does not work correctly
on newer distributions. But you can force it to work. There are lots of
patches and work arounds. The LD_ASSUME_KERNEL/strace, xmodmap for German
AltGr key and the compat-glibc package are the most known.

LD_ASSUME_KERNEL/strace:
  Why should wineserver think that we run it on an old kernel?
  The bug is in the kernel and not in wineserver/Kylix IDE.
  Update to Kernel 2.4.21 and the open/save dialog hangup is
  history.

xmodmap:
  Adding the Mode_switch identifier to Xmodmap works but it is
  not the best work around because some key combinations still
  do not work. Why not modify the newer xkb configuration?

compat-glibc package:
  It is a solution. But why should we reconfigure Kylix and use
  old libraries? The bug seems to be in Borland's linker ilink
  that cannot handle the new command that was introduced to the
  ld-script files libc.so and libpthread.so by glibc 2.2.


On my homepage I'd published a Kylix 3 patch suite for RedHat 9. Maybe it
works for other distributions, too. It contains five patches and work
arounds that can be installed by one install script.


The first patch is "German AltGr key patch". It patches the German xkb
files. The install-script starts only if language settings are German.

The second patch is "glibc 2.3 for Kylix 3 C++". It installs the libc.so and
libpthread.so ld-scripts to kylix/lib (this directory is above the library
path entries /usr/lib and /lib). The ilink linker now finds the needed
glibc libraries. But two functions are missing: The glibc initialization
and finialization function names have changed. This issue is handled by the
_initfini23.o file that comes with the patch. It redirects the new
__libc_csu_init and __libc_csu_fini functions to the old _init and _fini.
This file is added to kylix/lib/libborcrtl.a and
kylix/lib/libborcrtl_nonshared.a where it is linked to all application.
Furthermore the patch replaces the _config.h/k3stl.h patch by modifications
in kylix/include/sys/cdefs.h.
It also installes two additional header files: asm/io.h and asm/types.h.
Now you can remove the compat-glibc package.
This patch may work for all distributions with glibc 2.2/2.3.
   
The third patch is more a workaround. execXx(), popen() and system() do not
work with an activated integrated debugger. The workaround redirects all
execve calls to the syscall SYS_execve (all execution functions call
execve) and makes the debugger confused about the new process. As a result
the debugger cannot intercept the new process.
In oder to activate the workaround you have to add the new unit LibcExec to
the uses statement. This unit redirects execve in its initialization
section when the program is started by the IDE. For Kylix C++ the
LibcExec.o and LibcExec.hpp files are included.
This patch works for all distributions.
   
The fourth patch is the "Unofficial VisualCLX patch for Kylix 3 Version 1.0
(2003-07-27)". This patch fixes many VisualCLX bugs and memory leaks.
Because of some interface modification in some VCLX units this patch is
optional and the install script will ask you for installation. Be care
full with it. You need the source code of all your Qt depended 3rd party
components in order to recompile them.
This patch works for all distributions.
   
The fifth patch is not really a patch. It is a download, configure and
compile script for Kernel 2.4.21. It works only for RedHat 9 and maybe for
SuSE 8.2. If this script does not find a /usr/src/linux-2.4.21 directory or
a /usr/src/linux-2.4.21.tar.bz2 or /usr/src/linux-2.4.21.tar.gz file it
prompts for downloading the kernel from www.kernel.org. After this the tar
ball is extracted and a "make menuconfig" is initialized with the
distribution's default configuration files from /boot/.


You can download the Kylix 3 patch suite from
http://www.kylix-patch.de.vu


--
Regards,

Andreas Hausladen
(http://www.kylix-patch.de.vu unofficial VisualCLX patches)

카일릭스입문 [cjmjmjm]   2007-05-10 04:22 X
ㅠㅠ..이게 무슨 소린지.. 대충 해석은 되도  뭘 어찌 하라는 건진 잘 모르겠네요.. ;;

좀더 쉽게 설명해 줄분 없나요? 

+ -

관련 글 리스트
16 Redhat9.0에서 Kylix C++ 컴파일 에러 해결할수 있는 패치입니다. 장석우 18486 2003/11/13
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.