Re: how to specify multiple input files for "objcopy" command
Glynn Clements <[email protected]>
| Newsgroups | org.kernel.vger.linux-c-programming |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]>