Jump to content
Sign in to follow this  
sean

version 4.1.7e not working on linux

Recommended Posts

Hi all

 

Just installed the new version of c2c on linux, with a new licence.

Within the install directory I try ./c2c -PPIC16F84 -otest.c -Ip16f84 test.c

 

I get a segmentation fault! The same with any of the example code. My test code is this;

 

//for PIC 16F84 target

 

char state = 0;

main()

{

 state=1;

}

 

I'm running red hat 7.1 on a dell (intel celeron)

 

Ive tryed with minimal command line option to no avail...GDB says it crashes when trying to look at a directory that is not there?

 

Am I doing somthing basic wrong?

 

thanks

Sean

Share this post


Link to post
Share on other sites
Guest Pavel

The problem was found and fixed. The new linux compiler version 4.1.7x is available to download from the compiler download page:

 

http://www.picant.com/c2c/download.html

 

The problem was in the missing ~/.pat directory where the compiler looked for the .pat optimization scripts.

 

Regards,

Pavel

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...