Sign in Join

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

Mailing lists / fpc-devel / 2001-02

SYSUTILS

4 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Roderick van Domburg

I'm building with the Win32 1.1 compiler, succesfully built from CVS. However, with every source that I try to compile that lists CLASSES as an unit, the compiler errs:

classes.pp(16,10) Fatal: Can't find unit SYSUTILS

Which is the exact same error I get when I try to recompile the CLASSES unit from CVS manually in the FCL directory.

My sysutils.ppw resides in the units/win32/rtl subdirectory, which is included in the unit path in the ppc386.cfg:

-Fuc:\ppc/units/$TARGET
-Fuc:\ppc/units/$TARGET/*
-Fuc:\ppc/units/$TARGET/rtl

The RTL subdirectory is succesfully included; if I try to compile something that includes, say, the DOS unit, it builds correctly.

Any idea how I can fix this, or where my mistake is?

Reply by email

Marco van de Voort
to Roderick van Domburg
Show quoted text 7 lines
-Fuc:\ppc/units/$TARGET/* -Fuc:\ppc/units/$TARGET/rtl The RTL subdirectory is succesfully included; if I try to compile something that includes, say, the DOS unit, it builds correctly. Any idea how I can fix this, or where my mistake is?

Did you try to "touch *.*" it up?

Reply by email

Noah silva
to Marco van de Voort

Hello,

I know there are several TCP/IP librariesfor FreePascal, but I was wondering if there is a -standard- TCP/IP interface (i.e. one that ships with it). The Reason I ask is that I am developing a TCP/IPinterface binding for Pure Pascal (For Atari) to use the STiK/STiNG/GlueSTiK TCP/IP stack specification (again, on Atari). When FreePascal for Atari becomes usable, I will make sure this library runs under that too. Right now I plan 3 parts:

a.) Direct port of the C API (pretty much done)
b.) Higher level library using A, that supports Pascal strings instead of C strings, simplified forms of most functions with defaults on the extraparams, etc.
c.) An oop library built off of A or b.

Part A is of course specific to this tcp/ipstack, but the higher level libs need not be. It would be nice if i could make them API compatible with another tcp/ip library that works under unix, so that the same apps I write to run under Pure Pascal/Atari/My stik TCPIP lib will work also under FPK/Unix/another TCPIP lib. For example, I am now working (mostly finished) with an AIM compatible program (as none exists on the Atari as of yet). Linux perhaps doesn't need this as badly, as there are C and TCL based clients, but it would be nice if I could make my unit a drop-in replacement so that I could compile the same code both places. Can anyone recommend a unit for me to steal the interface from?

(btw, I plan BSDish source releases for all of my code.)

thanks,
noah silva

Reply by email

Jonas Maebe
to Roderick van Domburg: I'm building with the Win32 1.1 compiler, succesfully built from CVS. However, with every…
Roderick van Domburg wrote 11 lines
I'm building with the Win32 1.1 compiler, succesfully built from CVS. However, with every source that I try to compile that lists CLASSES as an unit, the compiler errs: classes.pp(16,10) Fatal: Can't find unit SYSUTILS Which is the exact same error I get when I try to recompile the CLASSES unit from CVS manually in the FCL directory. My sysutils.ppw resides in the units/win32/rtl subdirectory, which is included in the unit path in the ppc386.cfg:

Are you sure it is trying to use the sysutils unit from units/win32/rtl? (use the -vt parameter). The makefiles by default search in a path relative from the the current one (i.e. if you type "make" in "x:\pp\new\compiler", it will use the directory "x:\pp\new\rtl\$target" instead of what you specified in your ppc386.cfg)

Jonas

Reply by email