Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-06

Compiling for win32

10 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marco van de Voort
to Micha Nelissen: Thank you for this information and quick response. But, am I ignorant or where should I…
Show quoted text 12 lines
>> But I also miss windres.exe from the FPC package, and when I used >> the mingw one, I got errors :(. > > The packages with the utils are: > > ftp://ftp.freepascal.org/fpc/dist/win32-1.0.8/separate/asldw32.zip > ftp://ftp.freepascal.org/fpc/dist/win32-1.0.8/separate/basew32.zip Thank you for this information and quick response. But, am I ignorant or where should I have found this information on the website? Download gives me the release version; which I don't want. Development gives me links for the compiler itself, source, binary, but not these utilities as far I can tell.

The logic is that we expect most developpers to have used the release version before they start using development (i.o.w. development is supposed to be installed on top of a regular installation)

Reply by email

Micha Nelissen
to Unknown author: FPC. It should be in the bin/win32 directory, where the compiler is. Here is what I…

Hi,

Show quoted text 7 lines
>>> 1) I do not have asw.exe, where to get it? >> >> It comes with the Win32 compiler ? > > Which? FPC, GCC, MingW, Cygwin? FPC. It should be in the bin/win32 directory, where the compiler is.

Well, it is not, otherwise I would not be posting this message :). For the record, I found another message on the internet saying to download the mingw binutils package and then rename as.exe to asw.exe, ld.exe to ldw.exe, etc. That was to avoid name clashes.

Hope this can help someone else,

Micha.

Reply by email

Micha Nelissen
to Unknown author: It comes with the Win32 compiler ? You will need to get the latest code from CVS, I don't…

Hi,

Show quoted text 5 lines
> When trying to compile lazarus for win32, I get these errors: > > 1) I do not have asw.exe, where to get it? It comes with the Win32 compiler ?

Which? FPC, GCC, MingW, Cygwin?

Show quoted text 9 lines
> 2) I do not have TDataModule class, I can not compile > designer/jitform.pas. > > I am using the fpc binaries from a mirror of freepascal.org, version > 1.0.8-pre1. You will need to get the latest code from CVS, I don't think the latest win32 version on the FTP server has the TDatamodule code included - at least, I am not sure.

Do you mean 1.0.x or 1.1? How can I get latest 1.0.x? I did cvs ... -r RELEASE_1_0_8. Can you point to a link or describe how to compile the freepascal CVS? Is it a simple make?

Thanks,

Micha.

Reply by email

Unknown author
to Micha Nelissen
Micha Nelissen wrote 9 lines
Hi, >> When trying to compile lazarus for win32, I get these errors: >> >> 1) I do not have asw.exe, where to get it? > > It comes with the Win32 compiler ? Which? FPC, GCC, MingW, Cygwin?

FPC. It should be in the bin/win32 directory, where the compiler is.

Show quoted text 14 lines
>> 2) I do not have TDataModule class, I can not compile >> designer/jitform.pas. >> >> I am using the fpc binaries from a mirror of freepascal.org, version >> 1.0.8-pre1. > > You will need to get the latest code from CVS, I don't think the > latest win32 version on the FTP server has the TDatamodule code > included - at least, I am not sure. Do you mean 1.0.x or 1.1? How can I get latest 1.0.x? I did cvs ... -r RELEASE_1_0_8. Can you point to a link or describe how to compile the freepascal CVS? Is it a simple make?

Here is what I always do:

make -C compiler cycle
make -C packages base
make -C fcl
make -C packages extra
make -C rtl install
make -C compiler install
make -C packages install
make -C fcl install

after that, compile lazarus.

Michael.

Reply by email

Micha Nelissen
to Marco van de Voort: The logic is that we expect most developpers to have used the release version before they…

Hi,

Show quoted text 9 lines
> Thank you for this information and quick response. But, am I > ignorant or where should I have found this information on the > website? Download gives me the release version; which I don't want. > Development gives me links for the compiler itself, source, binary, > but not these utilities as far I can tell. The logic is that we expect most developpers to have used the release version before they start using development (i.o.w. development is supposed to be installed on top of a regular installation)

Ah, now I understand. But coming from the lazarus website and seeing '1.0.6 is definitely not what you need', too few features and such, I headed straight for development :). Maybe other users could be helped as well with a little notice like: 'you need to install on top of a release OR download these additional utilities'.

Just a suggestion,

Micha.

Reply by email

Micha Nelissen
to Unknown author: FPC. It should be in the bin/win32 directory, where the compiler is. Here is what I…

Hi,

after that, compile lazarus.

Well, the compiler/rtl compiled \o/ :).

But I also miss windres.exe from the FPC package, and when I used the mingw one, I got errors :(.

---error snippet---
make[1]: Entering directory `D:/Projects/freepascal/lazarus' windres -i lazarus.rc -o lazarus.res --preprocessor windres: option `--preprocessor' requires an argument Usage: windres [option(s)] [input-file] [output-file] The options are:
-i --input=<file> Name input file
-o --output=<file> Name output file
-I --input-format=<format> Specify input format
-O --output-format=<format> Specify output format -F --target=<target> Specify COFF target
--preprocessor=<program> Program to use to preprocess rc file --include-dir=<dir> Include directory when preprocessing rc file -D --define <sym>[=<val>] Define SYM when preprocessing rc file -v --verbose Verbose - tells you what it's doing --language=<val> Set language when reading rc file --use-temp-file Use a temporary file instead of popen to read the preprocessor output
--no-use-temp-file Use popen (default)
-h --help Print this help message -V --version Print version information FORMAT is one of rc, res, or coff, and is deduced from the file name extension if not specified. A single file name is an input file. No input-file is stdin, default rc. No output-file is stdout, default rc. windres: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec symbolsrec tekhex binary ihex
make[1]: *** [lazarus.res] Error 1
make[1]: Leaving directory `D:/Projects/freepascal/lazarus' make: *** [ide] Error 2
---/error-------

Thanks,

Micha.

Reply by email

Micha Nelissen

Hi,

When trying to compile lazarus for win32, I get these errors:

1) I do not have asw.exe, where to get it?
2) I do not have TDataModule class, I can not compile designer/jitform.pas.

I am using the fpc binaries from a mirror of freepascal.org, version 1.0.8-pre1.

Thanks for any pointers,

Micha.

Reply by email

Unknown author
to Micha Nelissen
Micha Nelissen wrote 5 lines
Hi, When trying to compile lazarus for win32, I get these errors: 1) I do not have asw.exe, where to get it?

It comes with the Win32 compiler ?

2) I do not have TDataModule class, I can not compile designer/jitform.pas. I am using the fpc binaries from a mirror of freepascal.org, version 1.0.8-pre1.

You will need to get the latest code from CVS, I don't think the latest win32 version on the FTP server has the TDatamodule code included - at least, I am not sure.

Michael.

Reply by email

Micha Nelissen
to Marco van de Voort: The packages with the utils are: ftp://ftp.freepascal.org/fpc/dist/win32-1.0.8/separate/as…

Hi,

Show quoted text 7 lines
> But I also miss windres.exe from the FPC package, and when I used > the mingw one, I got errors :(. The packages with the utils are: ftp://ftp.freepascal.org/fpc/dist/win32-1.0.8/separate/asldw32.zip ftp://ftp.freepascal.org/fpc/dist/win32-1.0.8/separate/basew32.zip

Thank you for this information and quick response. But, am I ignorant or where should I have found this information on the website? Download gives me the release version; which I don't want. Development gives me links for the compiler itself, source, binary, but not these utilities as far I can tell.

Thank you very much,

Micha.

Reply by email