Forum > Other OS

Atari m68k

<< < (2/6) > >>

MarkMLl:
That sounds like an fpc.cfg problem...

Somewhat later: I'm not sure the "right" way to do this, but running the FPC compiler with -va and looking for "Handling" lines shows what's being fed to it.

What immediately stands out is this sort of thing


--- Code: Text  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---[0.008] Handling option "-Fu/usr/local/lib/fpc/3.2.2/units/x86_64-linux" 
which is the expansion of


--- Code: Text  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ----Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget 
Hardcoding (in fpc.cfg) that with something that doesn't embed quite as many dots in the directory name and uses a shorter target name might fix the problem.

MarkMLl

marcov:

--- Quote from: peters060 on April 17, 2022, 06:32:19 pm ---Atari MINT os supports long filenames on FAT32 and ext2 so in theory I don't need to rename anything.

However when compiling with fpc it fails to find the lib files.  When I renamed them to 8+3 then they are found.

--- End quote ---

Exactly which lib files (.ppu ? .a ?), and which program couldn't find it. The compiler or the linker (vlink I assume)? 


--- Quote ---I suspect it's an issue in how fpc is getting the files but I don't know enough about how this works.

--- End quote ---

Sometimes compiling with -va, piping that to file, and then searching for the filename in question can be a revelation.

peters060:
I was using djLogOverSimpleLogger from slf4p

If the name is reduced to 8+3 and all lower case , djsimple.pas, then the file is found.

I will recreate the error and post it here.

avra:

--- Quote from: peters060 on April 17, 2022, 11:36:29 am ---Unfortunately, atari fpc doesn't find source files with long filenames, it only works with 8+3 even when it is installed on a suitable partition.  This means that any existing fpc apps cantor cannot be easily ported and fpc can't build itself.

--- End quote ---
As an ex Atari MEGA STE user I do sympathize for what you are trying to do, but why don't you just use cross compilation from pc?

peters060:
That's like saying, why not abandon all the other platforms and everyone just use Windows.
 The whole point is to use fpc on Atari.

I don't find cross compiling to be convenient.  I don't have enough space to set up multiple computers so i generally use either Atari or this phone.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version