Hi It's nice of Borland to be so nice, but I must agree with Dale. Although both may be included in the package, I don't believe that you can mix languages. I know that Kylix/Delphi can do cross compiling between C and delphi(new name for pascal) for its object file, but the languages still uses different compilers. Why would you like to include the C headers? Delphi uses units and components. If you wan't to use a functionality, include the component by just dropping it on the form, or if you want to use a feature, go to the top of you source file and add the units which includes the functionality in the uses clause. You can use the help file to find the spesific needed units. I have rarely touched that uses clause. Only in some database applications.
Tinus On Sun, 2003-04-06 at 08:10, S Yuval wrote: > Actually, Kylix comes with both a Pascal compiler and a C++ compiler. It's > shipped in the same bundle, but the uses different startup scripts (startbcb > for a "C++ Builder" like environment and "startdelphi" for a Pascal like > environment). > ----- Original Message ----- > From: "Dale Welch" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: "S Yuval" <[EMAIL PROTECTED]> > Sent: Saturday, April 05, 2003 9:46 PM > Subject: Re: Borland Kylix on Linux > > > > You do realize that kylix is a pascal and not a c compiler...? > > stdio.h is a c header file... not going to work. > > in kylix you would have something closer to > > > > program hello(input,output); > > begin > > writeln('hello'); > > end. > > > > however because it is actually much more than just a pascal compiler, it > > gets much more complicated. > > :-) > > > > ---dale > > > > > > ----- Original Message ----- > > From: S Yuval > > To: [EMAIL PROTECTED] > > Sent: Saturday, April 05, 2003 8:38 PM > > Subject: Borland Kylix on Linux > > > > > > I'm trying to use Borland Kylix for Linux to write a simple "Hello World!" > > program. I have installed it in single user mode, in my home directory, > > skipping the RPM installation and using the binary tarball archive > directly. > > The development environment runs, but when I include stdio.h, I get an > > indefinite list of complaints about syntax errors concerning preprocessor > > directives in the file. Does this mean that Kylix is incompatible with > the > > GNU libraries? can anyone suggest a remedy? > > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]