How to make CMake to create copy files instead of symlinks ?

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
caffeinfx
Posts: 22
Joined: Thu 08 May 2014, 21:32

How to make CMake to create copy files instead of symlinks ?

#1 Post by caffeinfx »

Hi, i'm building libraries in FAT filesystem with CMake, it always fails because CMake generates symlink which is not supported in FAT filesystem.
Can CMake to make copy files instead of symlinks, like libSDL2-2.0.so.0.2.1 > libSDL2-2.0.so ?
Thanks :)

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#2 Post by amigo »

NTFS and FAT filesystems are not suitable for such use under Linux. Do your compiling on a real *NIX filesystem which supports symlinks, hardlinks, permissions and ownership.

caffeinfx
Posts: 22
Joined: Thu 08 May 2014, 21:32

#3 Post by caffeinfx »

i'm compiling on liveusb formatted as FAT32 Precise Puppy 5.7.1 with EXT2 filesave inside, i can build the libraries on EXT2 filesave, since liveusb getting full i build it on other usb flash drive which have FAT32 filesystem.
i can build the libraries on FAT32 with plain configure script and make. but not CMake.
is there way to make EXT filesave other than in the liveusb itself, then i can mount it as EXT filesystem so have symlink capabilities ?

Post Reply