Code: Select all
/usr/share/freebasic/bin/linux/ld: cannot find -lc
I should have the opportunity to experiment with it more this weekend. I'll keep posting.
Yours,
S
Code: Select all
/usr/share/freebasic/bin/linux/ld: cannot find -lc
This error message indicates that the file libc.so cannot be found. Typically that would be in the /usr/lib/ directory, but since it isn't usually needed except for development, it was probably omitted from your Puppy.sfoster wrote:Code: Select all
/usr/share/freebasic/bin/linux/ld: cannot find -lc
Code: Select all
find / -xdev -name libc.so -ls -o -name libm.so -ls -o -name libpthread.so -ls -o -name libdl.so -ls -o -name libncurses.so -ls
find / -xdev -name libc.so.? -ls -o -name libm.so.? -ls -o -name libpthread.so.? -ls -o -name libdl.so.? -ls -o -name libncurses.so.? -ls
Really? No error messages? Did the binary run okay? Can you think of anything that was different other than you were compiling in the terminal instead of in geany? Perhaps you had the *devx*.sfs file installed?sfoster wrote:. . . but I did try compiling code from inside the terminal just to see if the problem was Freebasic's (from earlier), and that worked. It made a binary just fine.
Ah, thanks for reporting that it was recognized okay. That eliminates one possibile problem.sfoster wrote:Oh, I should also mention before I sign off that the file was actually named hi.bas. I think bash just didn't print the file extension for some reason when it was relaying the message back to me. I think the new version does recognize .bas files because in one of the lower windows immediately below the editing pane, it says "file type: Freebasic."
Code: Select all
# geany -V
geany 0.18 (built on Aug 28 2009 with GTK 2.14.7, GLib 2.18.3)