草庐IT

compiler-development

全部标签

c - Linux新手问题: GCC Compiler output

我是Linux的新手。我在笔记本电脑上安装了Mint,最近一直在玩弄它。我写了一个简单的C程序并保存了文件。然后在命令行中输入gcc-cmyfile然后弹出一个名为a.out的文件。我天真地(经过多年的Windows使用)期望出现一个漂亮的.exe文件。我不知道如何处理这个a.out文件。 最佳答案 用-o命名并跳过-c:gcc-Wall-osomefilemyfile尽管如此,您应该使用.c扩展名来命名您的源文件。典型的编译方式,例如将两个源文件合并为一个可执行文件:#Compile(the-c)afile,thisproduce

Gorilla3D Developer 1.0.X for Delphi 10.4.2 cRACK

Delphi10.1.1+Firemonkey3DAddonFramework Notice:Developer'sEditioncontainsvisual&hardcodedwatermarks.SupportforDelphi10.1.1+[andC++Builder10.1.1+]CompatiblewithFMXcomponentsVariousformats:DAE,FBX,GLTF,OBJ,STL,PLY,SKP,X3D,Babylon,G3DLargesetofready-to-use&extendablematerials:lambert,phong,blinnphong,n

ValueError: The device should not be ‘gpu‘, since PaddlePaddle is not compiled with CUDA问题解决(Paddle)

一、问题描述两个问题一并解决:Traceback(mostrecentcalllast): File"run_trainer_ernie_gen.py",line120,in  paddle.set_device(trainer_params.get("PADDLE_PLACE_TYPE","cpu")) File"/opt/conda/envs/ERNIE-GEN/lib/python3.7/site-packages/paddle/device/__init__.py",line204,inset_device  place=_convert_to_place(device) File"/

ValueError: The device should not be ‘gpu‘, since PaddlePaddle is not compiled with CUDA问题解决(Paddle)

一、问题描述两个问题一并解决:Traceback(mostrecentcalllast): File"run_trainer_ernie_gen.py",line120,in  paddle.set_device(trainer_params.get("PADDLE_PLACE_TYPE","cpu")) File"/opt/conda/envs/ERNIE-GEN/lib/python3.7/site-packages/paddle/device/__init__.py",line204,inset_device  place=_convert_to_place(device) File"/

.net - 如何使用 Mono Develop 在 Linux 上创建 Excel 文件

我目前正在开发一个与Excel互操作配合使用的C#.net项目(在VS2010中)。不过,在某些时候,我将不得不通过MonoDevelop将该项目放到我们的Linux服务器上。我听说Excel互操作在Mono中不起作用。无论如何,我可以使用Mono通过代码创建和操作Excel文件吗?非常感谢!编辑:理想情况下,我想要一种免费执行此操作并且仍然能够支持格式化的方法。我真的不需要读取权限,只需要写入。 最佳答案 您真的需要使用Excel本身吗?这里的问题不是Excel不能与Mono一起工作,而是Excel不能与Linux一起工作。你也许

.net - 如何使用 Mono Develop 在 Linux 上创建 Excel 文件

我目前正在开发一个与Excel互操作配合使用的C#.net项目(在VS2010中)。不过,在某些时候,我将不得不通过MonoDevelop将该项目放到我们的Linux服务器上。我听说Excel互操作在Mono中不起作用。无论如何,我可以使用Mono通过代码创建和操作Excel文件吗?非常感谢!编辑:理想情况下,我想要一种免费执行此操作并且仍然能够支持格式化的方法。我真的不需要读取权限,只需要写入。 最佳答案 您真的需要使用Excel本身吗?这里的问题不是Excel不能与Mono一起工作,而是Excel不能与Linux一起工作。你也许

linux - 收到错误 : No rule to make target while compiling linux Kernel

我正在尝试编译我的linux内核,在自定义我的内核配置后,我录制了命令make开始编译但是出现如下错误:asma@ubuntu:/usr/src/linux$makemake[1]:***Noruletomaketarget`/usr/src/linux-headers-3.5.0-23/arch/x86/syscalls/syscall_32.tbl',neededby`arch/x86/syscalls/../include/generated/asm/unistd_32.h'.Stop.make:***[archheaders]Error2请问我该如何解决这个问题

linux - 收到错误 : No rule to make target while compiling linux Kernel

我正在尝试编译我的linux内核,在自定义我的内核配置后,我录制了命令make开始编译但是出现如下错误:asma@ubuntu:/usr/src/linux$makemake[1]:***Noruletomaketarget`/usr/src/linux-headers-3.5.0-23/arch/x86/syscalls/syscall_32.tbl',neededby`arch/x86/syscalls/../include/generated/asm/unistd_32.h'.Stop.make:***[archheaders]Error2请问我该如何解决这个问题

配置 : error: C compiler cannot create executables when installing Ruby 1. 9.3

尝试使用以下命令在Trisquel6上安装Ruby1.9.3时出现以下错误rvminstall1.9.3错误Errorrunning'./configure--prefix=/home/joshua/.rvm/rubies/ruby-1.9.3-p448--disable-install-doc--enable-shared',pleaseread/home/joshua/.rvm/log/1379507772_ruby-1.9.3-p448/configure.logTherehasbeenanerrorwhilerunningconfigure.Haltingtheinstalla

配置 : error: C compiler cannot create executables when installing Ruby 1. 9.3

尝试使用以下命令在Trisquel6上安装Ruby1.9.3时出现以下错误rvminstall1.9.3错误Errorrunning'./configure--prefix=/home/joshua/.rvm/rubies/ruby-1.9.3-p448--disable-install-doc--enable-shared',pleaseread/home/joshua/.rvm/log/1379507772_ruby-1.9.3-p448/configure.logTherehasbeenanerrorwhilerunningconfigure.Haltingtheinstalla