Re: Compiling in 64 system 32 bit program

2009-06-01 Thread Dan900
Yeah Thanks! It Work!. "yum install glibc-devel.i586" Dan900 wrote: > [dan...@localhost bin]$ ./gdc -m32 dupa.d > /usr/bin/ld: crt1.o: No such file: No such file or directory > collect2: ld returned 1 exit status You will also need the 32-bit runtime libraries*... By default you would only have

Re: Compiling in 64 system 32 bit program

2009-06-01 Thread Anders F Björklund
Dan900 wrote: [dan...@localhost bin]$ ./gdc -m32 dupa.d /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status You will also need the 32-bit runtime libraries*... By default you would only have the 64-bit variants. * the package would be "glibc-devel",

Re: Compiling in 64 system 32 bit program

2009-06-01 Thread Anders F Björklund
Dan900 wrote: I have GDC 64 on Linux Fedora 11, i wanna compile program to 32 bit systems but i have 64 bit system. Is this possible? when i type "--target-help" i have this error "gdc: error trying to exec 'cc1': execvp: Not Found" To compile 32-bit programs, you use the -m32 flag. --anders

Re: Compiling in 64 system 32 bit program

2009-06-01 Thread Dan900
[dan...@localhost bin]$ ./gdc -m32 dupa.d /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status ??

Compiling in 64 system 32 bit program

2009-06-01 Thread Dan900
I have GDC 64 on Linux Fedora 11, i wanna compile program to 32 bit systems but i have 64 bit system. Is this possible? when i type "--target-help" i have this error "gdc: error trying to exec 'cc1': execvp: Not Found"