Recent

Author Topic: [SOLVED]Global Path: there is a file that has all the paths in it, where?  (Read 548 times)

What I can do

  • Jr. Member
  • **
  • Posts: 99
Ok, I found this before but now it escapes all my searches.
There is a path file in the ...Lazarus\fpc\3.2.2... folder somewhere.
The file has a lot of "#" in it like in unix files.
Can anyone show me how this is done?
« Last Edit: September 07, 2024, 06:11:16 pm by What I can do »

What I can do

  • Jr. Member
  • **
  • Posts: 99
Re: Glbal Path: there is a file that has all the paths in it, where?
« Reply #1 on: September 07, 2024, 06:10:42 pm »
it's called "fpc.cfg"
it is located in: "..\Lazarus\fpc\3.2.2\bin\x86_64-win64\"
the section is called:
Quote
# -----------------------
# Set Filenames and Paths
# -----------------------

# Both slashes and backslashes are allowed in paths

# path to the messagefile, not necessary anymore but can be used to override
# the default language
#-FrG:\t\Dad\Lazarus\fpc\$FPCVERSION/msg/errore.msg
#-FrG:\t\Dad\Lazarus\fpc\$FPCVERSION/msg/errorn.msg
#-FrG:\t\Dad\Lazarus\fpc\$FPCVERSION/msg/errores.msg
#-FrG:\t\Dad\Lazarus\fpc\$FPCVERSION/msg/errord.msg
#-FrG:\t\Dad\Lazarus\fpc\$FPCVERSION/msg/errorr.msg

# search path for unicode binary files (FPC 2.x does not know this switch)
#ifndef VER2
-FM/unicode/
#endif

# Search for $fpctarget/$fpcsubarch-$fpcmemorymodel/ subdirectory first
# for i8086 CPU
#ifdef cpui8086
-FuG:\t\Dad\Lazarus\fpc\$FPCVERSION/units/$fpctarget/$fpcsubarch-$fpcmemorymodel
-FuG:\t\Dad\Lazarus\fpc\$FPCVERSION/units/$fpctarget/$fpcsubarch-$fpcmemorymodel/*
-FuG:\t\Dad\Lazarus\fpc\$FPCVERSION/units/$fpctarget/$fpcsubarch-$fpcmemorymodel/rtl
-FuG:\t\Dad\Lazarus\fpc\3.2.2\source\Global Units
#endif

# searchpath for units and other system dependent things
-FuG:\t\Dad\Lazarus\fpc\$FPCVERSION/units/$fpctarget
-FuG:\t\Dad\Lazarus\fpc\$FPCVERSION/units/$fpctarget/*
-FuG:\t\Dad\Lazarus\fpc\$FPCVERSION/units/$fpctarget/rtl
-FuG:\t\Dad\Lazarus\fpc\3.2.2\source\Global Units

 

TinyPortal © 2005-2018