digitalmars.D - Compiling in 64 system 32 bit program
- Dan900 (3/3) Jun 01 2009 I have GDC 64 on Linux Fedora 11, i wanna compile program to 32 bit syst...
- =?UTF-8?B?QW5kZXJzIEYgQmrDtnJrbHVuZA==?= (3/6) Jun 01 2009 To compile 32-bit programs, you use the -m32 flag.
- Dan900 (4/4) Jun 01 2009 [Dan900@localhost bin]$ ./gdc -m32 dupa.d
- =?UTF-8?B?QW5kZXJzIEYgQmrDtnJrbHVuZA==?= (6/9) Jun 01 2009 You will also need the 32-bit runtime libraries*...
- Dan900 (8/11) Jun 01 2009 Yeah Thanks! It Work!.
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"
Jun 01 2009
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
Jun 01 2009
[Dan900 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 ??
Jun 01 2009
Dan900 wrote:[Dan900 localhost bin]$ ./gdc -m32 dupa.d /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit statusYou will also need the 32-bit runtime libraries*... By default you would only have the 64-bit variants. * the package would be "glibc-devel", I believe So something like: yum install glibc-devel.i386 --anders
Jun 01 2009
Yeah Thanks! It Work!. "yum install glibc-devel.i586" Dan900 wrote:[Dan900 localhost bin]$ ./gdc -m32 dupa.d /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit statusYou will also need the 32-bit runtime libraries*... By default you would only have the 64-bit variants. * the package would be "glibc-devel", I believe So something like: yum install glibc-devel.i386 --anders
Jun 01 2009