The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
HPGCC 2.0 and Programmer's Notepad
04-03-2017, 12:19 AM (This post was last modified: 04-03-2017 12:24 AM by Helix.)
Post: #1
HPGCC 2.0 and Programmer's Notepad
I'm currently learning C.
I can run small programs on my HP 50g with HPGCC 2.0 and Programmer's Notepad, as shown in this page.

Compilation works fine with the "Make this .hp" tool, as long as there is only one file to compile.
But if I want to create a project with a function in a second file, say myfunction in myfile.c, and with myfile.h for the header, then I get the error: "undefined reference to 'myfunction'.
It seems that the "Make this .hp" tool doesn't link the files.

This project works perfectly with Code::Blocks, so I suppose my code is correct.
Is there a way to compile such a project with the Programmer's Notepad?

Jean-Charles
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HPGCC 2.0 and Programmer's Notepad - Helix - 04-03-2017 12:19 AM



User(s) browsing this thread: 1 Guest(s)