Sign in Join

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

Mailing lists / fpc-pascal / 2001-01

Smartlinking fpc 1.0.4 (Linux).

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Arne Hanssen

I've just installed FPC v. 1.0.4 ("upgrading" from v. 1.0.2) and is experiencing some problems:

1. Smartlinking of the RTL seems to be enabled.
Is that correct or have I left out something?

2. I'm calling fpc with the following script

#!/bin/bash
mydef="RELEASE"
ppc386 -d$mydef \
-FE/home/arne/bin \
-FU/home/arne/source/pascal/Units \
-Fu/home/arne/source/pascal/Units \
$1 $2 $3 $4 $5

but fpc doesn't place resulting files in the ../Units directory. Neither does it obey the -d parameter - but if I give it on the command line, it seems to be accepted. I've been using this for a long time - any idea why it won't work now?

Even worse, downgrading to fpc 1.0.2 doesn't bring back things to their previous state. (Downgrading = restore /etc/ppc386.cfg and changing /usr/local/bin/ppc386 to poing to ../lib/1.0.2/..
- isn't this enough?)
Any suggestions?

Vennlig hilsen / Best regards |\ ___,,--, _ Arne Hanssen, Senja, Norway /,`--'' \-,,__,'/ http://home.enitel.no/ahh |,4 ) )_ ) /~-----' http://home.c2i.net/bkgras -----'---^~(_/-_)--(_/_)-------
Chuck welch
to Arne Hanssen
you wrote 40 lines
I've just installed FPC v. 1.0.4 ("upgrading" from v. 1.0.2) and is experiencing some problems: 1. Smartlinking of the RTL seems to be enabled. Is that correct or have I left out something? 2. I'm calling fpc with the following script #!/bin/bash mydef="RELEASE" ppc386 -d$mydef \ -FE/home/arne/bin \ -FU/home/arne/source/pascal/Units \ -Fu/home/arne/source/pascal/Units \ $1 $2 $3 $4 $5 but fpc doesn't place resulting files in the ../Units directory. Neither does it obey the -d parameter - but if I give it on the command line, it seems to be accepted. I've been using this for a long time - any idea why it won't work now? Even worse, downgrading to fpc 1.0.2 doesn't bring back things to their previous state. (Downgrading = restore /etc/ppc386.cfg and changing /usr/local/bin/ppc386 to poing to ../lib/1.0.2/.. - isn't this enough?) Any suggestions? -- Vennlig hilsen / Best regards |\ ___,,--, _ Arne Hanssen, Senja, Norway /,`--'' \-,,__,'/ http://home.enitel.no/ahh |,4 ) )_ ) /~-----' http://home.c2i.net/bkgras -----'---^~(_/-_)--(_/_)------- _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Thanks

Chuck

Arne Hanssen
to Chuck welch

Thus spoke Chuck welch ():

Show quoted text 25 lines
At 10:08 PM 1/19/01 +0100, you wrote: >I've just installed FPC v. 1.0.4 ("upgrading" from v. 1.0.2) >and is experiencing some problems: > >1. Smartlinking of the RTL seems to be disabled. > Is that correct or have I left out something? > >2. I'm calling fpc with the following script > > #!/bin/bash > mydef="RELEASE" > ppc386 -d$mydef \ > -FE/home/arne/bin \ > -FU/home/arne/source/pascal/Units \ > -Fu/home/arne/source/pascal/Units \ > $1 $2 $3 $4 $5 > > but fpc doesn't place resulting files in the ../Units > directory. Neither does it obey the -d parameter - but > if I give it on the command line, it seems to be accepted. > I've been using this for a long time - any idea why it won't > work now? Thanks

For what???

As for my problem mentioned above (old message), my script was named 'fpc' which is also the name of a script introduced with 1.0.4 - and was called instead of my script (silly me).

Regarding smart linking: Mandrake Linux does not only include fpc (1.0.4) but its .rpm has smartlinking enabled! :-)

Vennlig hilsen / Best regards |\ ___,,--, _ Arne Hanssen, Senja, Norway /,`--'' \-,,__,'/ http://home.c2i.net/nite/arne |,4 ) )_ ) /~-----' http://home.c2i.net/bkgras -----'---^~(_/-_)--(_/_)-------