Displaying 6 results from an estimated 6 matches for "mplink".
Did you mean:
uplink
2009 Jul 01
2
[LLVMdev] llvmc for PIC16
...le
Relative:
i00202 at ubuntu:/tmp$ mcc16 --save-temps -dry-run hello.c./clang-cc -I
./include -triple=pic16- -emit-llvm-bc hello.c -o hello.bc-pqDR1Y
llvm-ld -link-as-library hello.bc-pqDR1Y -o tmp.bc-M1Rwip
llc -march=pic16 -f tmp.bc-M1Rwip -o tmp.s-DcVczP
gpasm -I ./inc tmp.s-DcVczP -o tmp.o
mplink /k ./lkr /l ./lkr tmp.o -o a.out
Absolute:
i00202 at ubuntu:/tmp$ /home/i00202/projects/llvm/Debug/bin/mcc16
--save-temps -dry-run hello.c
/home/i00202/projects/llvm/Debug/bin/clang-cc -I
/home/i00202/projects/llvm/Debug/include -triple=pic16- -emit-llvm-bc
hello.c -o hello.bc-iqtUNP
llvm-ld...
2009 Jun 30
2
[LLVMdev] llvmc for PIC16
Mikhail Glushenkov wrote:
> Hi Sanjiv,
>
> 2009/6/29 Sanjiv Gupta <sanjiv.gupta at microchip.com>:
>
>> I want to retrieve the value of argv[0] (which was passed to main function
>> of the driver) in PrependCustomizedPath.
>>
>
> I've added a way to access argv[0] in hooks:
> http://thread.gmane.org/gmane.comp.compilers.llvm.cvs/50789
>
2009 Jun 30
0
[LLVMdev] llvmc for PIC16
Hi Sanjiv,
2009/6/30 Sanjiv Gupta <sanjiv.gupta at microchip.com>:
> One more thing:
> How to make --save-temps always on, so that users won't have to specify it
> every time they invoke the driver?
Either always run the driver via an alias, or edit
lib/CompilerDriver/BuiltinOptions.cpp:
cl::opt<SaveTempsEnum::Values> SaveTemps
("save-temps",
2009 Jul 01
0
[LLVMdev] llvmc for PIC16
...ubuntu:/tmp$ mcc16 --save-temps -dry-run hello.c./clang-cc -I
> ./include -triple=pic16- -emit-llvm-bc hello.c -o hello.bc-pqDR1Y
> llvm-ld -link-as-library hello.bc-pqDR1Y -o tmp.bc-M1Rwip
> llc -march=pic16 -f tmp.bc-M1Rwip -o tmp.s-DcVczP
> gpasm -I ./inc tmp.s-DcVczP -o tmp.o
> mplink /k ./lkr /l ./lkr tmp.o -o a.out
>
> Absolute:
>
> i00202 at ubuntu:/tmp$ /home/i00202/projects/llvm/Debug/bin/mcc16
> --save-temps -dry-run hello.c
> /home/i00202/projects/llvm/Debug/bin/clang-cc -I
> /home/i00202/projects/llvm/Debug/include -triple=pic16- -emit-llvm-bc
&g...
2009 Jun 03
2
[LLVMdev] llvmc for PIC16
PIC16 now has clang and llc based system to generate native assembly. We
then use our native assembler (gpasm) and the native linker (mplink) to
generate the final executable. How can I integrate these things with
the driver llvmc to have gcc like user experience? Note that we also
want to run llvm-ld in order to perform the LTOs in case of multiple files.
- Sanjiv
2009 Jun 04
0
[LLVMdev] llvmc for PIC16
Hi Sanjiv,
Sanjiv Gupta <sanjiv.gupta <at> microchip.com> writes:
>
> PIC16 now has clang and llc based system to generate native assembly. We
> then use our native assembler (gpasm) and the native linker (mplink) to
> generate the final executable. How can I integrate these things with
> the driver llvmc to have gcc like user experience? Note that we also
> want to run llvm-ld in order to perform the LTOs in case of multiple files.
>
> - Sanjiv
>
You can start with writing a separ...