Linking directives (was: C Header Files -> Pascal)
Mon, 31 Mar 1997 23:37:58 +0200 (MET DST)
According to Sven Engelhardt:
> nb. any way to issue linker-options (-lxxx -L) as preprocessor-
> directives, so one could write rater developer-friendly code.
This is planned.
My idea was to make "(*$L foo.o *)" equivalent to a file name `foo.o'
given in the command line. One could also make "(*$L /usr/lib *)"
equivalent to "-L /usr/lib" because GPC can check whether the given
name refers to a file or a directory.
Any idea how to implement the "-lxxx" option as a compiler directive?
> Laugh at your problems, all the others do so.
Guter Spruch! :-(-: I will try to do so. :-)
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer
peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201]
maintainer GNU Pascal - http://home.pages.de/~gnu-pascal/ [970125]
Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)
HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada -
Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es