Information on make
I wonder if someone could direct me to some readings on "make"? I have dusted off an ancient FORTRAN program from graduate school (circa 1968). It consists of seven modules and all I want to do is create a make file to compile and link this program. I can successfully compile and link the program manually, but make file syntax escapes me. I have tried the following, but it goes down in flames: === cnindo: coord.o ss.o huckl.o iter.o eign.o matout.o perturb.o *.f: *.o === While I realize this could be done by an experienced person quite easily, I'd rather go learn what I should be doing. Many Thanks, Gene To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Information on make
Thanks so much Steve and Andrew and all the others that responded. Andrew's reference to the docs and Steve's example were just the ticket I needed. I have had more fun getting started with this again after 30 years. It's nice to have access to a good quality FORTRAN compiler without having to sell my house and car. My hat is off to the FreeBSD folks and the GNU compiler folks! Thanks, Gene Harris On Sat, 7 Oct 2000, Steve Kargl wrote: > Gene Harris wrote: > > I wonder if someone could direct me to some readings on "make"? I have dusted > > off an ancient FORTRAN program from graduate school (circa 1968). It consists > > of seven modules and all I want to do is create a make file to compile and > > link this program. I can successfully compile and link the program manually, > > but make file syntax escapes me. > > > > I have tried the following, but it goes down in flames: > > > > === > > cnindo: coord.o ss.o huckl.o iter.o eign.o matout.o perturb.o > > > > *.f: *.o > > === > > > > While I realize this could be done by an experienced person quite easily, I'd > > rather go learn what I should be doing. > > > > Many Thanks, > > Gene > > > > > > # > # Replace with an actual tab character. > # > F77=f77 > FFLAGS=-O > OBJS=coord.o ss.o huckl.o iter.o eign.o matout.o perturb.o > > all: cnindo > > cnindo: ${OBJS} > ${F77} -o cnindo ${FFLAGS} ${OBJ$} > > clean: > rm -f ${OBJS} > > .f.o: > ${F77} ${FFLAGS} $< > > -- > Steve > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Xlib.h Question
I noticed a problem with includes in Xlib.h on my FreeBSD 3.3-Stable box: The following includes incorrectly specify an X11 subdirectory: #include /* applications should not depend on these two headers being included! */ #include #include If I edit out the "X11/" subdir, everything compiles correctly. Is this a known bug, or have I placed Xlib.h in the wrong subdir? (It is found in /usr/X11R6/include/X11 on my machine.) Gene Harris http://www.tetronsoftware.com Home of TeamAccess http://www.teamaccess.com DOS Drools, FreeBSD Rules! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: your mail
This list is for FreeBSD, not Solaris. *==* *Gene Harris http://www.tetronsoftware.com* *FreeBSD Novice* *All ORBS.org SMTP connections are denied! * *==* On Thu, 13 Jan 2000, Ramiro Amaya wrote: > I am new in this mail list, so I do not have so much experience about the > questions I should ask, If I am in the worng place let me know, please. > Well my question is related with Solaris 2.6, the story is like this: > > I have a Solaris 2.5 server which has configured all the printers so I can > perint from that machine without any problem; The printers are remotes so I > use the IP address on /etc/hosts ( Nis database ). Recently, I update the > nis clients to Solaris 2.6, but I am not sure how to configure the > printers, is there anybody there who can give me a hand?. Thanks > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Compiling under the linux emulator
I need to compile a program under the freebsd linux emulator. How do I set up an environment where make, cc, etcetera point to the emulator binaries? I am attempting to recompile the xfstt port under the linux emulator to test some stability issues. Many thanks, Gene *==* *Gene Harris http://www.tetronsoftware.com* *FreeBSD Novice* *==* To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Compiling under the linux emulator
All you need to do is modify your path to include whatever linux subdirs you need referenced first, such as PATH=/usr/compat/linux/bin:$PATH;export PATH. You may need to add other subdirs as well, according to any errors you might receive. That is all it takes. And, it works! *==* *Gene Harris http://www.tetronsoftware.com* *FreeBSD Novice* *All ORBS.org SMTP connections are denied! * *==* On Fri, 28 Jan 2000, Charles Anderson wrote: > I was looking for this same info a while back, didn't find it in my > search of the archives, please let me know if you have any success. > > thanks, > -Charlie (compiled but not linked) > > On Thu, Jan 27, 2000 at 05:24:46PM -0600, Gene Harris wrote: > > I need to compile a program under the freebsd linux > > emulator. How do I set up an environment where make, > > cc, etcetera point to the emulator binaries? > > > > I am attempting to recompile the xfstt port under the linux > > emulator to test some stability issues. > -- > Charles Anderson [EMAIL PROTECTED] > > No quote, no nothin' > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message