NO

Author Topic: Convert Pelles C Project from 32 bit to 64 bit,...  (Read 3390 times)

kerem_g

  • Guest
Convert Pelles C Project from 32 bit to 64 bit,...
« 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.

Online Vortex

  • Member
  • *
  • Posts: 803
    • http://www.vortex.masmcode.com
Re: Convert Pelles C Project from 32 bit to 64 bit,...
« Reply #1 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.
Code it... That's all...

kerem_g

  • Guest
Re: Convert Pelles C Project from 32 bit to 64 bit,...
« Reply #2 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.

Online Vortex

  • Member
  • *
  • Posts: 803
    • http://www.vortex.masmcode.com
Re: Convert Pelles C Project from 32 bit to 64 bit,...
« Reply #3 on: October 16, 2010, 08:06:42 PM »
Quote
but under win64, the compiler(assembler)

Do you have inline assembly in your C code?
Code it... That's all...

kerem_g

  • Guest
Re: Convert Pelles C Project from 32 bit to 64 bit,...
« Reply #4 on: October 16, 2010, 08:31:35 PM »
No, there is no inline assembly.