[fpc-pascal]gnu binutils cross compiler/linker for linux from windows
Harald Houppermans
houppermans at home.nl
Fri Jun 27 21:17:12 CEST 2003
Hi,
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.
I am trying to get free pascal working as a cross compiler.
I have been told by a user of free pascal that I need a cross compiler and a cross linker also websites say that.
It also seems that gnu binutils 2.14 contain a cross compiler and a cross linker ? ( or what is a cross assembler ? )
So I need to compile/link/build the gnu binutils. ( I think?: working on windows and compiling for linux )
I already tried compiling gnu binutils the simple way:
./configure
make
It gives this error:
/bin/sh ./../ylwrap "" deffilep.y y.tab.c deffilep.c y.tab.h deffilep.h -- -d
./../ylwrap: -d: command not found
ylwrap seems to be a script.
I have been told to install bison and flex.
My questions are the following:
Compiling binutils:
1. Which parameters to use for ./configure ?
2. How to install binutils ?
Installing flex:
1. Where do I extract the zipfile too ? does it matter ?
2. How should I compile it
3. How to install it and where ?
Same questions for bison
I'll try and post this same message to the free pascal mailing list as well.
What I am trying to do seems rather complex... I have almost no experience with linux !
I also have msys installed.
Any help would be great.
Skybuck.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20030627/e032e6e2/attachment.html>
More information about the fpc-pascal
mailing list