--- Harald Houppermans <[EMAIL PROTECTED]> wrote:
> I am just wondering if the free pascal compiler can set these
> permission
> automatically for the linux executables.
No, there is no executable bit to set in the Windows attribute set.
How are you copying it? When I read files off a floppy,
The free pascal 1.0.6 cross compiler host windows target linux is now
working.
I used cygwin, binutils-2.14 and free pascal.
( mingw unfortunately did not working: missing bison, flex, etc :) )
I tested a simple hello world program with knoppix ( linux running from
cd-rom ).
Then I also tested
Shit lol...
Wrong file name ( also hello world program had end. not end; ;) )
Now it says this: :)
C:\plztest2>fpc -TLINUX hellofp
Free Pascal Compiler version 1.0.6 [2002/04/23] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Linux for i386
Compiling hellofp.pas
Assembling progr
Ok something strange is going on.
I copied as-new.exe and ld-new.exe to c:\pp\bin\linux
I also installed c:\pp\units\linux all kinds of linux units
I made a simple hello world program
begin
writeln( 'hello world' );
end;
Called hellofp.pas
Now I try to compile it:
It says this:
C:\plz
Hey wait a sec.
What s the difference between binutils AS.exe and NASM...
It seems NASM is for 8086x and AS is for all kind of processors, is that
correct ?
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc
So I am not going to try mingw again at this point.
Already did that... it fails... no bison and flex.
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
- Original Message -
From: "Nikolay Nikolov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 29, 2003 2:33 AM
Subject: Re: [fpc-pascal]cross compiler potential ?
> Harald Houppermans wrote:
>
> >>then compile for linux with:
> >>fpc -TLINUX -Anasmelf filename.pas
> >>
> >>
- Original Message -
From: "Nikolai Zhubr" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 29, 2003 2:45 AM
Subject: Re: [fpc-pascal]cross compiler potential ?
> Hi,
> Saturday, 28 June, 2003, 22:26:01, Harald Houppermans wrote:
> > Suppose I ever do get a free pascal compi
Hi,
Saturday, 28 June, 2003, 22:26:01, Harald Houppermans wrote:
> Suppose I ever do get a free pascal compiler working.
> How usefull will it be ?
This depends entirely on how much you need it :)
> What I want to do is write windows server software and then compile it for linux.
> I would like
Harald Houppermans wrote:
then compile for linux with:
fpc -TLINUX -Anasmelf filename.pas
Are these parameters based on the NASM idea ?
yes
What are the right parameters based on the binutils ?
the same, just without the -Anasmelf
fpc -TLINUX filename.pas
( Let s try binutils method fir
Ok, which tarball contains the linux rtl source ?
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> then compile for linux with:
> fpc -TLINUX -Anasmelf filename.pas
Are these parameters based on the NASM idea ?
What are the right parameters based on the binutils ?
( Let s try binutils method first... before I get really confused :) )
Thx dude !
_
- Original Message -
From: "Nikolay Nikolov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 29, 2003 1:08 AM
Subject: Re: [fpc-pascal]cross compiler potential ?
> Harald Houppermans wrote:
>
> > A step by step tutorial how to create such a cross compiler would be
> > quit
Ok,
Finally after two days I have successfully compiled the binutils-2.14 using
cygwin, lol, without to much unix/linux knowledge on my side :)
Anyway... the problem was with make.. I had so many makes on my system
cygwin was using the wrong make tool, that has been solved by setting the
path in
Harald Houppermans wrote:
A step by step tutorial how to create such a cross compiler would be
quite handy :D
1. Where do I get binutils from windows to linux ? Compiling it myself
seems impossible... so many errors I am ready to give up on that.
( I tried mingw and cygwin, both with no luck )
Suppose I ever do get a free pascal compiler
working.
How usefull will it be ?
What I want to do is write windows server software
and then compile it for linux.
I would like to use: high performance counter,
tcp/ip stack, udp protocol.
That's about it.
A step by step tutorial how to
Hello. I'm currently in the process of porting an old DOS game to
linux using fpc and the ocrt module. The game makes extensive use of
high ascii characters.
Sometimes, if I do : nwriteAC(nscreen, x, y, color, char1); char2 :=
byte((nReadScr(x,y,1))[1]);
char2 will be different from char1, beca
> I want to create a pascal compiler which can cross compile for linux from windows.
>
> ( So I can develop server programs on windows and then later run then on linux
> server's )
>
> It seems there are 2 pascal compilers which might be able to do that:
>
> 1. free pascal.
> 2. gnu pascal.
>
Harald Houppermans wrote:
My questions are the following:
Compiling binutils:
1. Which parameters to use for ./configure ?
2. How to install binutils ?
cd binutils
mkdir build
cd build
../configure --prefix=/mingw --target=i686-pc-gnu-linux
make
make install
Installing flex:
1. Where do I extrac
19 matches
Mail list logo