Re: how to specify multiple input files for "objcopy" command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Srinivas G. wrote:

> I am able to create a elf32-i386 format output file with "objcopy"
> command by giving the binary file as input. The command is as follows.
> 
> # objcopy -I binary -O elf32-i386 -B i386 testing_file.cubin obj_out.o
> 
> 	Where testing_file.cubin is binary object file which is
> generated from nvcc compiler.
> 
> However, I am NOT able to generate the ONE output file from MULTIPLE
> input files. Could any one suggest me for specifying the multiple input
> files?
> 
> Is there any other command which does the same?

You can use "ld -r ..." to link multiple object files into one.

-- 
Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux