LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-22-2001, 09:43 AM   #1
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
dotslashconfigure with c++


OK, i'm trying to suss out how to build GUI's in C++ or C with GTK. Using Glade i can easily build source code go GUI's, but how do i do it by hand? glade creates ./configure and Makefiles and such like, What do i need to know to make these by myself? The output of thesee always scares me, and i'm only ickle!

thanks
chris
xxxx
 
Old 07-22-2001, 02:06 PM   #2
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
well, for starters, there's not a programmer on earth who really bothers to do the script files by hand. it's not amazingly complicated stuff, it's just that it's produced by another script, which makes it pretty obfuscated.

basically, all that the configure script does is to check for different libraries or other programs on your computer, and makes sure that everything is up to date to get the package running. many programmers use autoconf and automake to package their programs... you might want to try reading up on those.
 
Old 07-22-2001, 05:37 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Original Poster
Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ARRRRRRRRRGGGGGGGGGGGHHHHHHHHH

God this is soooo complicated!!

I've kinda found how to make Makefile.am configure.in and such like... but not got anywhere near a makefile that isn't completely empty....

All i want to do is make Hello World with GTK or somethign similar!!

PLEASE!!! HELP ME!!! I'M STRANDED!! I'm graduating next year with a degree in Computer Engineering... jesus wept...!

chris
xxxx
 
Old 07-23-2001, 06:05 PM   #4
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
ok... what do you have so far? i haven't used automake or autoconf in a while, but i think i can walk you through it. i'm guessing that you already have a working "hello world" program and you're trying to fingure out how to package it?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration