[Gambas-user] gba3 -> Invalid cross-device link

Benoît Minisini gambas at ...1...
Sun Mar 31 04:06:12 CEST 2013


Le 31/03/2013 04:03, Benoît Minisini a écrit :
> Le 27/03/2013 19:32, Tobias Boege a écrit :
>> Hi,
>>
>> I try to create a Gambas executable (from within the IDE but that doesn't
>> seem to be relevant here). The project directory lies on another hard
>> drive
>> partition than the executable's target directory. This causes gba3 to
>> fail
>> with:
>>
>> gba: ERROR: Cannot make executable: Cannot create executable: Invalid
>> cross-device link
>> Project.MakeExecutable.2828
>>
>> There seems to be a hardlink involved and so I ask: is it really
>> necessary
>> to hardlink? Wouldn't a symlink do it, too?
>>
>> Regards,
>> Tobi
>>
>
> There is no hardlink used anywhere in Gambas. That's a strange error! I
> will investigate...
>

OK. This error has nothing to do with hardlinks. It's just that the 
executable is created inside a temporary file, and that temporay file is 
then moved (i.e. renamed), which does not work if the target directory 
is on a different device than the temporary directory.

-- 
Benoît Minisini




More information about the User mailing list