search for: vsf_findlib

Displaying 3 results from an estimated 3 matches for "vsf_findlib".

Did you mean: vsf_findlibs
2006 Jun 02
2
[LLVMdev] Compiling natively vsftp with LLVM
...vm objects and libcrtend and compile it to native .o file and then link it with sysdeputil.o . The Makefile is sth like this: vsftpd: $(OBJS) gccld -r -native -o vsftpd.o $(OBJS) -L/home/xianai/my_projects/llvm/cfrontend/x86/llvm-gcc/lib/ -lcrtend gcc -o vsftpd vsftpd.o sysdeputil.o `./vsf_findlibs.sh` But the gcc/ld still cannot find the reference to __main. Do I have to compile crtend to native to solve this problem? -- Regards, Nai
2006 Jun 02
0
[LLVMdev] Compiling natively vsftp with LLVM
On Fri, 2 Jun 2006, Nai Xia wrote: > The Makefile is sth like this: > > vsftpd: $(OBJS) > gccld -r -native -o vsftpd.o $(OBJS) -L/home/xianai/my_projects/llvm/cfrontend/x86/llvm-gcc/lib/ -lcrtend > gcc -o vsftpd vsftpd.o sysdeputil.o `./vsf_findlibs.sh` > > > But the gcc/ld still cannot find the reference to __main. > Do I have to compile crtend to native to solve this problem? gccld -r doesn't work with -native. Also, you do need to link in crtend, which doesn't happen with -r, only "producing an executable mode&q...
2006 Jun 02
2
[LLVMdev] Compiling natively vsftp with LLVM
...r wrote: > On Fri, 2 Jun 2006, Nai Xia wrote: > > The Makefile is sth like this: > > > > vsftpd: $(OBJS) > > gccld -r -native -o vsftpd.o $(OBJS) -L/home/xianai/my_projects/llvm/cfrontend/x86/llvm-gcc/lib/ -lcrtend > > gcc -o vsftpd vsftpd.o sysdeputil.o `./vsf_findlibs.sh` > > > > > > But the gcc/ld still cannot find the reference to __main. > > Do I have to compile crtend to native to solve this problem? > > gccld -r doesn't work with -native. Also, you do need to link in crtend, > which doesn't happen with -r, only &...