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]