Pelles C forum

C language => Beginner questions => Topic started by: kerem_g on October 16, 2010, 08:33:17 AM

Title: Convert Pelles C Project from 32 bit to 64 bit,...
Post by: kerem_g on October 16, 2010, 08:33:17 AM
Hi,

i would love to know how i can convert a 32 bit pelles-c project (not the code!) successfully into a 64 bit
project and finally manage to compile it then sucessfully into a running binary without having strange linker
and compiler errors on code that is perfectly written and compilable under 32 bit windows without any issue,...
any help is really welcome! Thanks in advance,...

regards

K.
Title: Re: Convert Pelles C Project from 32 bit to 64 bit,...
Post by: Vortex on October 16, 2010, 12:08:03 PM
Hi kerem_g,

Providing more details about the error messages would be helpful to solve the problem.
Title: Re: Convert Pelles C Project from 32 bit to 64 bit,...
Post by: kerem_g on October 16, 2010, 05:18:14 PM
Hi,

these are perfect valid expressions under win32 comiling, but under win64, the compiler(assembler)
complains that these expressions are undefined:

if(hModule == NULL) return;
if(hRunLib == NULL) return;

and thats what i get on output in the IDE:

C:\projects\DRC64\DRC64.c(537): error #3120: [asm] Symbol '@379' is undefined.
C:\projects\DRC64\DRC64.c(2130): error #3120: [asm] Symbol '@636' is undefined.

Any idea why i get this,...?

regards

K.
Title: Re: Convert Pelles C Project from 32 bit to 64 bit,...
Post by: Vortex on October 16, 2010, 08:06:42 PM
Quotebut under win64, the compiler(assembler)

Do you have inline assembly in your C code?
Title: Re: Convert Pelles C Project from 32 bit to 64 bit,...
Post by: kerem_g on October 16, 2010, 08:31:35 PM
No, there is no inline assembly.