Just a quick question.


Kelvin

Pixel Mercenary
Joined
Jul 22, 2013
Messages
131
Website
www.kelvinshadewing.net
When I compiled a GTK project using Code::Blocks on Pandora, it produced just a PND file. I hear the PND is more of an ISO than an executable, so then does the actual executable inside treat the PND as it's local directory?

Also, to locate the appdata folder, would I just use something like "../appdata" as the directory, or what?
 
The code blocks gui actually outputs a PND file?
 

Yeah in theory you can mount the PND file if you wish to get at the contents..

Personally I've only used the Code Blocks PND for the command line tools.

 
 
When I compiled a GTK project using Code::Blocks on Pandora, it produced just a PND file. I hear the PND is more of an ISO than an executable, so then does the actual executable inside treat the PND as it's local directory?
yeah, kind of.

the pndspace will be mounted at /mnt/utmp/pndname.

depending on the filesystem your on, you can write to that directory from within. (ext = true, fat = false)

Also, to locate the appdata folder, would I just use something like "../appdata" as the directory, or what?
in gerenal its good practice to write to the appdata dir (to avoid nand spamming).

just grab the $APPDATADIR env and your good to go :)
 
Back
Top