Code: Select all
exagonx@PIIDebian:/PIISVR/test$ fbc hello.bas
ld: warning: hello.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
Code: Select all
exagonx@PIIDebian:/PIISVR/test$ fbc hello.bas
ld: warning: hello.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
Still no Warning message.??FreeBASIC Compiler - Version 1.10.1 (2023-12-24), built for linux-x86_64 (64bit)
Copyright (C) 2004-2023 The FreeBASIC development team.
target: linux-x86_64, x86-64, 64bit
backend: gcc
compiling: hello.bas -o hello.c (main module)
compiling C: gcc -m64 -march=x86-64 -S -nostdlib -nostdinc -Wall -Wno-unused -Wno-main -Werror-implicit-function-declaration -O0 -fno-strict-aliasing -frounding-math -fno-math-errno -fwrapv -fno-exceptions -fno-asynchronous-unwind-tables -funwind-tables -Wno-format -masm=intel "hello.c" -o "hello.asm"
assembling: as --64 --strip-local-absolute "hello.asm" -o "hello.o"
linking: ld -m elf_x86_64 -o "hello" -dynamic-linker /lib64/ld-linux-x86-64.so.2 -T "/usr/local/bin/../lib/freebasic/linux-x86_64/fbextra.x" -L "/usr/local/bin/../lib/freebasic/linux-x86_64" -L "." -L "/usr/lib/gcc/x86_64-linux-gnu/12" "/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crt1.o" "/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crti.o" "/usr/lib/gcc/x86_64-linux-gnu/12/crtbegin.o" "/usr/local/bin/../lib/freebasic/linux-x86_64/fbrt0.o" "hello.o" "-(" -lfb -ltinfo -lm -ldl -lpthread -lgcc -lgcc_eh -lc "-)" "/usr/lib/gcc/x86_64-linux-gnu/12/crtend.o" "/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crtn.o" --eh-frame-hdr
Thank you for your suggestion
exagonx@hotmail.com@PIIDebian:~$ ld --version
GNU ld (GNU Binutils for Debian) 2.40
Copyright (C) 2023 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
exagonx@hotmail.com@PIIDebian:~/Documents$ mkdir freebasic
exagonx@hotmail.com@PIIDebian:~/Documents$ cd freebasic
exagonx@hotmail.com@PIIDebian:~/Documents/freebasic$ nano hello.basexagonx@hotmail.com@PIIDebian:~/Documents/freebasic$ fbc hello.basCode: Select all
print "Hello"
ld: warning: hello.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
exagonx@hotmail.com@PIIDebian:~/Documents/freebasic$ fbc --version
FreeBASIC Compiler - Version 1.10.1 (2023-12-24), built for linux-x86 (32bit)
Copyright (C) 2004-2023 The FreeBASIC development team.
I suggest that you build FB-1.20.0 from source and update your FB installationfbc -w all -v "hello.bas" (in directory: /root/Documents)
FreeBASIC Compiler - Version 1.20.0 (2024-07-25), built for linux-x86_64 (64bit)
Copyright (C) 2004-2024 The FreeBASIC development team.
target: linux-x86_64, x86-64, 64bit
backend: gcc
compiling: hello.bas -o hello.c (main module)
compiling C: gcc -m64 -march=x86-64 -S -nostdlib -nostdinc -Wall -Wno-unused -Wno-main -Werror-implicit-function-declaration -O0 -fno-strict-aliasing -frounding-math -fno-math-errno -fwrapv -fno-exceptions -fno-asynchronous-unwind-tables -funwind-tables -Wno-format -masm=intel "hello.c" -o "hello.asm"
assembling: as --64 --strip-local-absolute "hello.asm" -o "hello.o"
linking: ld -m elf_x86_64 -o "hello" -dynamic-linker /lib64/ld-linux-x86-64.so.2 -T "/usr/local/bin/../lib/freebasic/linux-x86_64/fbextra.x" -L "/usr/local/bin/../lib/freebasic/linux-x86_64" -L "." -L "/usr/lib/gcc/x86_64-linux-gnu/12" "/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crt1.o" "/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crti.o" "/usr/lib/gcc/x86_64-linux-gnu/12/crtbegin.o" "/usr/local/bin/../lib/freebasic/linux-x86_64/fbrt0.o" "hello.o" "-(" -lfb -ltinfo -lm -ldl -lpthread -lgcc -lgcc_eh -lc "-)" "/usr/lib/gcc/x86_64-linux-gnu/12/crtend.o" "/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crtn.o" --eh-frame-hdr
Compilation finished successfully.
Ill do it
Because is a Pentium II 266Mhz ;Pwhy 32-bit and not 64-bit ?
Yes they are nice but I only have Windows 2000 Professional, and having to decide whether to install win2k or winxp I preferred xp for better compatibility with some applications, currently I'm trying to use the freebasic screen 14 graphics mode in a minimal version of Linux without having to depend on the X Window librariesjakobssystems wrote: ↑Jan 14, 2025 9:05 you may laugh, but 2021 I've kicked out the last remaining NT4 Workstation
https://blog.jakobs.systems/img/2021112 ... -nt-4.webp